CmisSync.Lib.Storage.Database.IMetaDataStorageConvenienceExtender.GetRemoteId C# (CSharp) Méthode

GetRemoteId() public static méthode

Gets the remote identifier by trying to read the Uuid of the given directory. If this fails or returns null, the local path is used to request the remote object id from the storage.
public static GetRemoteId ( this storage, IFileSystemInfo info ) : string
storage this Meta data storage instance.
info IFileSystemInfo File system item info.
Résultat string
        public static string GetRemoteId(this IMetaDataStorage storage, IFileSystemInfo info) {
            IMappedObject mappedObject = storage.GetObject(info);
            if (mappedObject != null) {
                return mappedObject.RemoteObjectId;
            } else {
                return null;
            }
        }
IMetaDataStorageConvenienceExtender