0byt3m1n1
Path:
C:
/
Windows
/
System32
/
wbem
/
[
Home
]
File: dfsrprovs.mof
// (c) 2003 Microsoft Corporation. All rights reserved. // // // Distributed File Systems Replication - WMI Provider // #pragma autorecover #pragma classflags("forceupdate") Qualifier Description : ToSubClass Amended; Qualifier Values : ToSubClass Amended; Qualifier DisplayName : Amended; Qualifier BitValues:ToSubClass Amended ; Qualifier Aggregate : ToSubClass ; Qualifier ValueMap : ToSubClass ; Qualifier Aggregation : ToSubClass ; Qualifier ArrayType : ToSubClass ; Qualifier Association : ToInstance ToSubClass DisableOverride ; Qualifier BitMap : ToSubClass ; Qualifier CIM_Key : ToSubClass ; Qualifier CIMTYPE : ToSubClass ; Qualifier Deprecated : ToSubClass ; Qualifier Enumeration : ToSubClass ; Qualifier EnumPrivileges : ToSubClass ; Qualifier Fixed : ToSubclass; Qualifier ImplementationSource : ToSubClass ; Qualifier Key : ToInstance ToSubClass DisableOverride ; Qualifier Locale : ToInstance ; Qualifier MappingStrings : ToSubClass ; Qualifier Max : ToSubClass ; Qualifier MaxLen : ToSubClass ; Qualifier Min : ToSubClass ; Qualifier MinLen : ToSubClass ; Qualifier ModelCorrespondence : ToSubClass ; Qualifier Not_Null : ToSubClass ; Qualifier Override : Restricted ; Qualifier Privileges : ToSubClass ; Qualifier Propagated : ToSubClass ; Qualifier provider : ToInstance ; Qualifier Range : ToSubClass ; Qualifier Read : ToSubClass ; Qualifier Schema : ToInstance ; Qualifier Singleton : ToSubClass ToInstance ; Qualifier SUBTYPE : ToSubClass ; Qualifier Units : ToSubClass ; Qualifier UUID : ToInstance ; Qualifier Volatile : ToSubClass ; Qualifier Weak : ToSubClass ; Qualifier Write : ToSubClass ; Qualifier WritePrivileges : ToSubClass ; #pragma namespace("\\\\.\\Root") // // Set the initial DFSR WMI namespace security descriptor: // // For Administrators, grant the following rights: // // * Execute Methods // * Provider Write // * Enable Account // * Remote Enable // [NamespaceSecuritySDDL ("O:BAG:BAD:P(A;;0x33;;;BA)")] instance of __Namespace { Name = "MicrosoftDfs"; }; #pragma namespace ("\\\\.\\Root\\MicrosoftDfs") // // DFSR Configuration Provider // instance of __Win32Provider as $P1 { Name = "DfsrConfigProv"; ClsId = "{FE873C7D-73A7-4C10-8BEB-1A5F7B2009EE}"; //ClientLoadableCLSID = NULL; //DefaultMachineName = NULL; //ImpersonationLevel = 1; //InitializationReentrancy = 0; //InitializeAsAdminFirst = FALSE; //PerLocaleInitialization = FALSE; //PerUserInitialization = TRUE; //Pure = TRUE; //UnloadTimeout = NULL; HostingModel = "Decoupled:Com:FoldIdentity(FALSE)"; //SecurityDescriptor = "O:BAG:BAD:(A;;0x1;;;BA)"; }; instance of __MethodProviderRegistration { Provider = $P1; }; instance of __InstanceProviderRegistration { Provider = $P1; SupportsPut = TRUE; SupportsGet = TRUE; SupportsDelete = TRUE; SupportsEnumeration = TRUE; QuerySupportLevels = {"WQL:UnarySelect"}; }; // // DfsrConfig // DFSR Configuration Provider class // [Description("The DfsrConfig class is a DFS Replication configuration " "provider class. This singleton class has provider-specific " "settings in addition to computer-wide service configuration " "parameters and methods."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033), Singleton] class DfsrConfig { // Properties [DisplayName("DFS Replication Configuration Provider Version"), Description("Current version of the provider"), Read] string ProviderVersion; [DisplayName("DFS Replication Service Version"), Description("Service version"), Read] string ServiceVersion; // Methods [Implemented, Static, Description("This static method polls Active Directory Domain Services and applies changes in " "configuration, if any, to the service. The method returns a Win32 " "status code.")] uint32 PollDsNow( [In, Description("Fully qualified name to domain controller to connect. " "This parameter is optional.")] string DcDnsName ); }; // // DfsrMachineConfig // A singleton Machine Settings Class // [Description("The DfsrMachineConfig class is a singleton class that " "provides service-wide settings on the local computer."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033), Singleton] class DfsrMachineConfig { // Properties [DisplayName("Last Change Number"), Description("The configuration sequence number. This value is " "incremented each time the computer configuration changes."), MinValue(1) : ToInstance, Read] uint32 LastChangeNumber; [DisplayName("Last Change Time"), Description("The time stamp of the last configuration change"), Read] datetime LastChangeTime; [DisplayName("Last Change Source"), Description("Information about the originator of the last configuration change"), Read] string LastChangeSource; [DisplayName("Description"), Description("The user-defined description for the current machine settings"), Read, Write] string Description; [DisplayName("Enable Debug Log"), Description("Enables or disables the generation of debug logs"), Read, Write] boolean EnableDebugLog; [DisplayName("Debug Log File Path"), Description("The full path of the debug log files"), MaxLen(2600) : ToInstance, Read, Write] string DebugLogFilePath; [DisplayName("Maximum Debug Log Files"), Description("The maximum number of debug log files to be generated"), MinValue(1) : ToInstance, Read, Write] uint32 MaxDebugLogFiles; [DisplayName("Debug Log Severity"), Description("The level of detail in the debug log files"), MinValue(1) : ToInstance, MaxValue(5) : ToInstance, Read, Write] uint32 DebugLogSeverity; [DisplayName("Maximum Debug Log Messages"), Description("The maximum number of log entries in each debug log file"), MinValue(1000) : ToInstance, Read, Write] uint32 MaxDebugLogMessages; [DisplayName("Active Directory Domain Services Polling Interval In Minutes"), Description("The number of minutes between the end of one Active Directory Domain Services polling cycle " "and the start of another"), MinValue(1) : ToInstance, Read, Write] uint32 DsPollingIntervalInMin; [DisplayName("Enable Light Active Directory Domain Services Polling"), Description("Enables a lightweight check for membership configuration changes " "in Active Directory Domain Services. This periodic check speeds up the service response to certain types " "of configuration changes. A full poll will follow if any change is detected." "Light polling does not interfere with the normal polling cycles."), Read, Write] boolean EnableLightDsPolling; [DisplayName("RPC Port Assignment"), Description("The user-specified RPC port assignment. The default is 0, " "which indicates any available port. Changes to this value do not take " "effect until the next time the service starts."), Read, Write] uint32 RpcPortAssignment; [DisplayName("Reghosting Rate In Minutes"), Description("Time interval in minutes between Reghosting runs. " "Reghosting scans the content set root and trim files that have not" "been accessed recently - according to reghosting policy - to their " "ghost version to save disk space."), MinValue(60) : ToInstance, Read, Write] uint32 ReghostingRateInMin; [DisplayName("Root Low Watermark Percentage"), Description("The Reghosting process is stopped once the the size of " "the content set root directory hits its low watermark. " "Every content set defines the maximum size of its root directory."), MinValue(10) : ToInstance, Read, Write] uint32 RootLowWatermarkPercent; [DisplayName("Root High Watermark Percentage"), Description("The reghosting process is kicked off once the the size of " "the content set root directory hits its high watermark. " "Every content set defines the maximum size of its root directory."), MinValue(40) : ToInstance, Read, Write] uint32 RootHighWatermarkPercent; [DisplayName("Staging Low Watermark Percentage"), Description("The staging cleanup process stops when the size of " "the staging folder reaches its low watermark. " "Every replicated folder defines the maximum size of its staging folder."), MinValue(10) : ToInstance, MaxValue(80) : ToInstance, Read, Write] uint32 StagingLowWatermarkPercent; [DisplayName("Staging High Watermark Percentage"), Description("The staging cleanup process starts when the size of " "the staging folder reaches its high watermark. " "Every replicated folder defines the maximum size of its staging folder."), MinValue(80) : ToInstance, MaxValue(100) : ToInstance, Read, Write] uint32 StagingHighWatermarkPercent; [DisplayName("Conflict Low Watermark Percentage"), Description("The conflict cleanup process stops when the size of " "the Conflict and Deleted folder reaches its low watermark. " "Every replicated folder defines the maximum size of its Conflict and Deleted folder."), MinValue(10) : ToInstance, MaxValue(80) : ToInstance, Read, Write] uint32 ConflictLowWatermarkPercent; [DisplayName("Conflict High Watermark Percentage"), Description("The conflict cleanup process starts when the size of " "the Conflict and Deleted folder reaches its high watermark. " "Every replicated folder defines the maximum size of its Conflict and Deleted folder."), MinValue(80) : ToInstance, MaxValue(100) : ToInstance, Read, Write] uint32 ConflictHighWatermarkPercent; [DisplayName("Max Offline Time In Days"), Description("The max number of days a replicated folder can be disconnected from " "other partners before it is put into error state."), MinValue(0) : ToInstance, Read, Write] uint32 MaxOfflineTimeInDays; [DisplayName("Stop Replication on Auto Recovery"), Description("Enables Stop Replication on Auto Recovery feature."), Read, Write] boolean StopReplicationOnAutoRecovery; // Methods }; // // DfsrVolumeConfig // DFS Replication tracks information about each volume that hosts replicated folders. // Per-volume settings are represented by this class. // [Description("The DfsrVolumeConfig class stores the per-volume settings " "for each volume on the computer that hosts one or more replicated folders."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033)] class DfsrVolumeConfig { // Properties [Key, DisplayName("Volume GUID"), Description("The unique identifier of the volume"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string VolumeGuid; [DisplayName("Volume Serial Number"), Description("The volume serial number"), Read] uint64 SerialNumber; [DisplayName("Volume Path"), Description("The volume path"), Read] string VolumePath; [DisplayName("Last Change Number"), Description("The configuration sequence number. This value is " "incremented each time the volume configuration changes."), MinValue(1) : ToInstance, Read] uint32 LastChangeNumber; [DisplayName("Last Change Time"), Description("The time stamp of the last configuration change"), Read] datetime LastChangeTime; [DisplayName("Last Change Source"), Description("Information about the originator of the last configuration change"), Read] string LastChangeSource; [DisplayName("Database Path"), Description("The local path of the database folder"), MaxLen(2600) : ToInstance, Read] string DatabasePath; [DisplayName("Minimum USN Journal Size in MB"), Description("The minimum size of the update sequence number (USN) journal to allocate on the volume, " "in megabytes. If no USN journal exists, the DFS Replication service creates a new journal with " "the specified size; otherwise, the service increases the existing USN journal to " "this minimum size. The DFS Replication service will not change the existing USN journal size if the " "existing the size is already larger than the new minimum size."), Units("MB") : ToInstance, MinValue(4) : ToInstance, MaxValue(10000) : ToInstance, Read, Write] uint32 MinNtfsJournalSizeInMb; [DisplayName("Usn Check Point"), Description("Number of updates to accumulate before committing a transaction."), MinValue(1) : ToInstance, Read] uint32 UsnCheckPoint; [DisplayName("Maximum number of Jet Sessions"), Description("Max number of concurrent Jet DB sessions. Every volume has its own " "DB and therefore this parameter is defined per-volume. While we don't " "expect users to edit this value, we might want to tweak it for customers " "who host large number of content sets on one volume, pumping up the " "number of sessions on that volume will improve the performance hence " "the overall scalability of FRS."), MinValue(16) : ToInstance, Read] uint32 MaxJetSessions; [DisplayName("Is a clustered Volume"), Description("Specifies whether the volume is clustered or local"), Read] boolean IsClustered; [DisplayName("Clustered Volume Physical Disk Resource Name"), Description("Specifies the clustered volume's physical disk resource name. Empty if not a clustered volume"), Read] string ClusterDiskResName; // Methods [Implemented, Description("Resumes replication for the volume. Volume must be in " "auto recovery state and replication stopped on the volume due to " "auto recovery being triggered. This method returns a Win32 error code.")] uint32 ResumeReplication(); }; // // DfsrReplicatedFolderConfig // Replicated Folder Configuration class. Each replicated folder on the system // is represented by a single instance of this class // [Description("An instance of this class is available for each replicated folder" "that this hosted on this computer. This class provides read-only access " "to the replicated folder configuration parameters."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033)] class DfsrReplicatedFolderConfig { // Properties [Key, DisplayName("Replicated Folder GUID"), Description("The unique identifier of the replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicatedFolderGuid; [DisplayName("Replicated Folder Name"), Description("The friendly name of the replicated folder. The name is not required to be unique."), Read] string ReplicatedFolderName; [DisplayName("Replicated Folder Distinguished Name"), Description("The distinguished name of the corresponding object in Active Directory Domain Services"), Read] string ReplicatedFolderDn; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group that the replicated folder belongs to"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Member GUID"), Description("The unique identifier of the member that hosts this replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Volume GUID"), Description("The unique identifier of the volume that contains the replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string VolumeGuid; [DisplayName("Local Path"), Description("The local path of the replicated folder"), MaxLen(2600) : ToInstance, Read] string RootPath; [DisplayName("Root Quota In MB"), Description("The quota size of the root folder, in megabytes, " "assigned to the replicated folder"), MinValue(10) : ToInstance, Read] uint32 RootSizeInMb; [DisplayName("Staging Folder Path"), Description("The local path of the staging folder for the replicated folder"), MaxLen(2600) : ToInstance, Read] string StagingPath; [DisplayName("Staging Quota In MB"), Description("The quota size of the staging space, in megabytes," "assigned to the replicated folder"), MinValue(10) : ToInstance, Read] uint32 StagingSizeInMb; [DisplayName("Conflict and Deleted Folder Path"), Description("The local path of the Conflict and Deleted folder for the replicated folder"), MaxLen(2600) : ToInstance, Read] string ConflictPath; [DisplayName("Conflict and Deleted Folder Quota In MB"), Description("The quota size of the Conflict and Deleted folder, in megabytes," "assigned to the replicated folder"), MinValue(10) : ToInstance, Read] uint32 ConflictSizeInMb; [DisplayName("File Exclusion Filter"), Description("The file exclusion filter list. This is a comma-separated list " "of filter strings to be applied to files under the local path of the replicated folder."), MaxLen(2600) : ToInstance, Read] string FileFilter; [DisplayName("Subfolder Exclusion Filter"), Description("The subfolder exclusion filter list. This is a comma-separated list of " "filter strings to be applied to subfolders under the local path of the replicated folder."), MaxLen(2600) : ToInstance, Read] string DirectoryFilter; [DisplayName("Ghosted Content"), Description("Allow DFSR to ghost files based on the ghosting policy."), Read] boolean Ghosted; [DisplayName("Obey Connection Schedule In Cache"), Description("Obey connection schedule for on-demand replication."), Read] boolean CacheObeyConnectionSchedule; [DisplayName("Minimum Age Time In Cache In Minutes"), Description("Minimum time a candidate ghosted resource remains un-ghosted " "before it is considered for ghosting."), MinValue(0) : ToInstance, Read] uint32 MinAgeInCacheInMin; [DisplayName("Maximum Age Time In Cache In Minutes"), Description("Maximum duration in minutes for a resource to remain unghosted " " before it has to be reghosted"), MinValue(0) : ToInstance, Read] uint32 MaxAgeInCacheInMin; [DisplayName("Replicated Folder Status"), Description("Indicates whether this replicated folder is enabled"), Read] boolean Enabled; [DisplayName("Is Primary"), Description("Indicates whether the data in the replicated folder is authoritative " "during initial replication"), Read] boolean IsPrimary; [DisplayName("Read-only"), Description("Indicates whether this replicated folder is read-only "), Read] boolean ReadOnly; [DisplayName("Disable Saving Deletes"), Description("Disables the feature that moves deleted files to the Conflict and Deleted folder"), Read] boolean DisableSaveDeletes; [DisplayName("Disable Reanimation of Remote Deletions"), Description("Specifies whether remote deletions should be reanimated " "for update conflicts"), Read] boolean DisableReanimateDeletes; [DisplayName("Shared Staging Folder"), Description("Specifies whether the staging folder is private or shared"), Read] boolean SharedStaging; [DisplayName("File extensions that are compressed"), Description("File extensions that are compressed, *, empty string, or comma separated extensions"), Read] string CompressedExtensions; [DisplayName("Replicated Folder Description"), Description("The user-defined description of the content or purpose of the " "current replicated folder"), Read] string Description; [DisplayName("Replicated Folder USN Created"), Description("USN Created value of the AD object representing the replicated folder"), Read] uint64 UsnCreated; [DisplayName("Content Set AD computer name"), Description("AD computer name that holds the content set"), Read] string ContainerComputerName; [DisplayName("Is content set part of a VCO"), Description("Specifies whether content set is part of a VCO or local computer"), Read] boolean IsClustered; [DisplayName("Content Set VCO Resource Name"), Description("If AD computer name that holds the content set represent a VCO then this is its resource name"), Read] string VcoResourceName; [Implemented, Static, Description("Stops replication of a replicated folder on this cluster node. The use of this " "method is reserved exclusively for use by the DFSR Cluster Resource DLL. Calling " "this method directly can cause DFSR's internal state to become inconsistent with the state " "maintained by the DFSR Cluster Resource DLL."), ValueMap{"0", "87", "9001", "9240"}, Values{"Success", "Invalid parameter", "The replicated folder was not recognized", "Not ready to process cluster requests"}] uint32 Offline( [In, Description("Supplies the name of the replicated folder's DFS Replicated Folder resource")] string ResourceName, [In, Description("Supplies the ID of the replicated folder in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string ReplicatedFolderGuid, [In, Description("Supplies the ID of the replicated folder's replication group in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string ReplicationGroupGuid, [In, Description("Supplies the ID of the replicated folder's volume in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string VolumeGuid ); [Implemented, Static, Description("Starts replication of a replicated folder on this cluster node. The use of this " "method is reserved exclusively for use by the DFSR Cluster Resource DLL. Calling " "this method directly can cause DFSR's internal state to become inconsistent with the state " "maintained by the DFSR Cluster Resource DLL."), ValueMap{"0", "87", "9240"}, Value{"Success", "Invalid parameter", "Not ready to process cluster requests"}] uint32 Online( [In, Description("Supplies the name of the replicated folder's DFS Replicated Folder resource")] string ResourceName, [In, Description("Supplies the ID of the replicated folder in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string ReplicatedFolderGuid, [In, Description("Supplies the ID of the replicated folder's replication group in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string ReplicationGroupGuid, [In, Description("Supplies the ID of the replicated folder's volume in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string VolumeGuid ); }; // // DfsrReplicationGroupConfig // Replication Group Configuration Class that represents each replication // group that the local computer is a member of. // [Description("An instance of this class is available for each replication " "group on this computer. This class provides read-only access " "to the replication group configuration parameters."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033)] class DfsrReplicationGroupConfig { // Properties [Key, DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Replication Group Name"), Description("The friendly name of the replication group. This " "name is not required to be unique."), Read] string ReplicationGroupName; [DisplayName("Replication Group Distinguished Name"), Description("The distinguished name of the corresponding " "DFSR2-ReplicationGroup object in Active Directory Domain Services"), Read] string ReplicationGroupDn; [DisplayName("Replication Group Type"), Description("The type of the replication group"), Values { "OTHER", "SYSVOL", "PROTECTION", "DISTRIBUTION", "CLIENT", "PEERNET"}, ValueMap {"0", "1", "2", "3", "4", "5"}, Read] uint32 ReplicationGroupType; [DisplayName("Last Change Number"), Description("The configuration sequence number. This value is " "incremented each time the replication group configuration changes."), MinValue(1) : ToInstance, Read] uint32 LastChangeNumber; [DisplayName("Last Change Time"), Description("The time stamp of the last configuration change"), Read] datetime LastChangeTime; [DisplayName("Last Change Source"), Description("Information about the originator of the last configuration change"), Read] string LastChangeSource; [DisplayName("Tombstone Expiration In Minutes"), Description("The maximum lifetime of tombstone objects, in minutes"), MinValue(60) : ToInstance, Read] uint32 TombstoneExpiryInMin; [DisplayName("Replication Group Description"), Description("The user-specified description of the content or purpose " " of the current replication group"), Read] string Description; [DisplayName("Default Schedule in UTC"), Description("Default schedule interpretation is either UTC or local time"), Read] Boolean DefaultScheduleInUtc; [DisplayName("Default Schedule"), Description("The default replication group schedule to be used for any connection " "in this connection object that does not have a custom schedule"), Read] uint8 DefaultSchedule[]; [DisplayName("Replication group AD computer name"), Description("AD computer name that holds the replication group"), Read] string ContainerComputerName; [DisplayName("Is AD computer represent a VCO"), Description("Specifies whether AD computer name is a VCO or local computer"), Read] boolean IsClustered; [DisplayName("Content Set VCO Resource Name"), Description("If AD computer name that holds the content set represent a VCO then this is its resource name"), Read] string VcoResourceName; }; // // DfsrLocalMemeberConfig // Member Configuration Class for local replication group members // [Description("Replication Group Membership Class. An instance of this " "class is available for each replication group hosted on this computer. " "This class maps to the DFSR2-Member class in Active Directory Domain Services."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033)] class DfsrLocalMemberConfig { // Properties [Key, DisplayName("Member GUID"), Description("The unique identifier of the local replication group member"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Member Name"), Description("The member name. This is typically the unqualified " "DNS name of the local computer."), Read] string MemberName; [DisplayName("Member Distinguished Name"), Description("The distinguished name of the corresponding DFSR-Member " "object in Active Directory Domain Services"), Read] string MemberDn; [DisplayName("Member DNS"), Description("The member-qualified DNS name"), Read] string MemberDns; [DisplayName("Member PeerNet Group Name"), Description("Member PeerNet Group Name"), Read] string MemberPeerNetGroupName; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Keywords"), Description("User-defined strings that are used by monitoring and " "configuration tools and for grouping or identification purposes"), Read] string Keywords; }; // // DfsrConnectionConfig // Replication Group Connection configuration class // [Description("The DfsrConnectionConfig class provides the configuration " "settings for a replication group connection. Each connection links a " "local and remote member, establishing a partnership. Only the connections of " "the direct partners to the local member have instances of this class."), Dynamic : ToInstance, Provider("DfsrConfigProv"), Locale(1033)] class DfsrConnectionConfig { // Properties [Key, DisplayName("Connection GUID"), Description("The unique identifier of the connection"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ConnectionGuid; [DisplayName("Connection Distinguished Name"), Description("The distinguished name of the corresponding " "DFSR2-Connection object in the Active Directory Domain Services"), Read] string ConnectionDn; [DisplayName("Member GUID"), Description("The identifier of the local member in this connection"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Partner GUID"), Description("The identifier of the partner object in this connection"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string PartnerGuid; [DisplayName("Partner Name"), Description("The partner name. This is typically the unqualified " "DNS name of the partner computer."), Read] string PartnerName; [DisplayName("Partner Distinguished Name"), Description("The distinguished name of the corresponding DFSR2-Member " "object in Active Directory Domain Services that represents the partner"), Read] string PartnerDn; [DisplayName("Partner DNS"), Description("The partner-qualified DNS name"), Read] string PartnerDns; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Incoming Connection"), Description("Indicates the direction of the connection between the " "local computer and this partner; it can be incoming or outgoing."), Read] boolean Inbound; [DisplayName("Enabled Connection"), Description("Indicates whether the connection is disabled. If the " "connection is enabled, the DFS Replication service will use it; otherwise, the connection is ignored."), Read] boolean Enabled; [DisplayName("Keywords"), Description("User-defined strings that are used by monitoring and " "configuration tools and for grouping or identification purposes"), Read] string Keywords; [DisplayName("RDC Enabled"), Description("Indicates whether remote differential compression (RDC) is enabled on this connection"), Read] boolean RdcEnabled; [DisplayName("RDC Minimum File Size in KB"), Description("The remote differential compression (RDC) minimum file size, in kilobytes. RDC is applied " "only on files that are this size or larger."), Read] uint32 RdcMinFileSizeInKb; [DisplayName("Schedule in UTC"), Description("Schedule interpretation is either UTC or local time"), Read] Boolean ScheduleInUtc; [DisplayName("Schedule"), Description("The replication schedule for this connection"), Read] uint8 Schedule[]; }; // // DFSR Monitoring Provider // instance of __Win32Provider as $P2 { Name = "DfsrMonitorProv"; ClsId = "{8DE71DDD-9469-4B98-BE1C-231186F10385}"; //ClientLoadableCLSID = NULL; //DefaultMachineName = NULL; //ImpersonationLevel = 1; //InitializationReentrancy = 0; //InitializeAsAdminFirst = FALSE; //PerLocaleInitialization = FALSE; //PerUserInitialization = TRUE; //Pure = TRUE; //UnloadTimeout = NULL; HostingModel = "Decoupled:Com:FoldIdentity(FALSE)"; //SecurityDescriptor = "O:BAG:BAD:(A;;0x1;;;BA)"; }; instance of __MethodProviderRegistration { Provider = $P2; }; instance of __InstanceProviderRegistration { Provider = $P2; SupportsPut = FALSE; SupportsGet = TRUE; SupportsDelete = FALSE; SupportsEnumeration = TRUE; QuerySupportLevels = {"WQL:UnarySelect"}; }; // // DfsrInfo // DFSR Monitoring Provider class // [Description(" The DFS Replication monitoring provider class. This singleton class " "has provider-specific settings in addition to computer-wide service " "properties and methods."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033), Singleton] class DfsrInfo { // Properties [DisplayName("DFS Replication Monitoring Provider Version"), Description("The current version of the provider"), Read] string ProviderVersion; [DisplayName("Service Start Time"), Description("The time stamp of the last service start"), Read] datetime ServiceStartTime; [DisplayName("Last Active Directory Domain Services Poll Time"), Description("The last time the Active Directory Domain Services poll operation was attempted"), Read] datetime LastDsPollTime; [DisplayName("State"), Description("The current service state"), Values {"Service Starting", "Service Running", "Service Degraded", "Service Shutting Down"}, ValueMap {"0", "1", "2", "3"}, Read] uint8 State; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("Event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; }; // // DfsrVolumeInfo // Monitoring Class for volumes that have (had) replicated folders // [Description("This class provides statistical and operational information " "for each volume that contains (or contained) replicated folders."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrVolumeInfo { // Properties [Key, DisplayName("Volume GUID"), Description("The unique identifier of the volume"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string VolumeGuid; [DisplayName("Volume Serial Number"), Description("The volume serial number "), Read] uint64 VolumeSerialNumber; [DisplayName("Replication Group GUID"), Description("The volume path format is either C: or volume{GUID}"), Read] string VolumePath; [DisplayName("Database GUID"), Description("The unique identifier of the database on this volume"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string DatabaseGuid; [DisplayName("Volume State"), Description("The current volume state"), Values {"Initialized", "Shutting Down", "In Error", "Auto Recovery"}, ValueMap {"0", "1", "2", "3"}, Read] uint8 State; [DisplayName("Last Configuration Change Time"), Description("The last time the volume configuration was changed"), Read] datetime LastConfigChangeTime; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("The event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; }; // // DfsrLocalMemberInfo // Monitoring Class for local replication group members // [Description("This class provides statistical and operational information " "for each replication group member hosted on the local computer."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrLocalMemberInfo { // Properties [Key, DisplayName("Member GUID"), Description("The unique identifier of the local replication group member"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Member Name"), Description("The member name. This is typically the unqualified " "DNS name of the local computer."), Read] string MemberName; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Replication Group Name"), Description("The friendly name of the replication group. This name " "is not required to be unique."), Read] string ReplicationGroupName; [DisplayName("Replication Group State"), Description("The current replication group state of this member"), Values {"Initialized", "Shutting Down", "In Error"}, ValueMap {"0", "1", "2"}, Read] uint8 State; [DisplayName("Last Configuration Change Time"), Description("The last time the configuration was changed"), Read] datetime LastConfigChangeTime; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("The event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; }; // // DfsrConnectionInfo // Monitoring info for each incoming and outgoing connection of local // replication group members // [Description("This class provides statistical and operational information " "for each incoming and outgoing connection of the local replication group members."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrConnectionInfo { // Properties [Key, DisplayName("Connection GUID"), Description("The unique identifier of the connection"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ConnectionGuid; [DisplayName("Member GUID"), Description("The unique identifier of the local replication group member"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Member Name"), Description("The member name. This is typically the unqualified " "DNS name of the local computer."), Read] string MemberName; [DisplayName("Partner GUID"), Description("The unique identifier of the partner object"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string PartnerGuid; [DisplayName("Partner Name"), Description("The partner name. This is typically the unqualified " "DNS name of the partner computer."), Read] string PartnerName; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Replication Group Name"), Description("The name of the replication group that owns this connection"), Read] string ReplicationGroupName; [DisplayName("Incoming Connection"), Description("Indicates the direction of the connection between the " "local computer and this partner; it can be incoming or outgoing."), Read] boolean Inbound; [DisplayName("Connection State"), Description("The current connection state"), Values { "Connecting", "Online", "Offline", "In Error"}, ValueMap { "0", "1", "2", "3"}, Read] uint32 State; [DisplayName("Last Sync Time"), Description("The time stamp of the last attempted sync operation"), Read] datetime LastSyncTime; [DisplayName("Last Sync Duration In Seconds"), Description("The duration of the last successful sync session, in seconds"), Units("Seconds"), Read] uint32 LastSyncDuration; [DisplayName("Last Successful Sync Time"), Description("The time stamp of the last successful sync session " "since the service was started"), Read] datetime LastSuccessfulSyncTime; [DisplayName("Next Sync Time"), Description("The time stamp of next scheduled sync session"), Read] datetime NextSyncTime; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("The event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; // Methods [Implemented, Description("Control replication by either forcing or suspending. After " "the duration expires, the DFS Replication service will revert to the configured " "replication schedule.")] uint32 ForceReplication( [In, Description("Replication mode. This input variable takes the following values:\n" "Obey Schedule - Use configured schedule \n" "Sync Now - Ignore configured schedule and replicate now for the given duration \n" "Stop Sync - Ignore configured schedule and stop replication for the given duration \n" "Sync Until In-Sync - Ignore configured schedule untill this member is fully in-sync " "with its upstream partner \n"), Values { "Obey Configured Schedule", "Sync Now", "Stop Sync", "Sync Until In-Sync" }, ValueMap { "1", "2", "3", "4"}] uint32 Mode, [In, Description("The duration, in minutes. This value cannot exceed one week (10,080 minutes).")] uint32 DurationInMin, [In, Description("The valid bandwidth level")] uint32 Bandwidth ); [Implemented, Description("Control replication by forcing a designated folder to replicate. After " "the duration expires, the DFS Replication service will revert to the configured " "replication schedule.")] uint32 ForceFolderReplication( [In, Description("The duration, in minutes. This value cannot exceed one week (10,080 minutes).")] uint32 DurationInMin, [In, Description("The valid bandwidth level")] uint32 Bandwidth, [In, Description("The replicated folder to force replication on")] string ReplicatedFolderGuid ); [Implemented, Description("Force a download of a specified resource. The connection and bandwidth are controlled by other methods. " "This method assumes that the connection is on. " "The unique ID of the resource to be downloaded can be obtained from upstream by quering the IdRecord")] uint32 ForceDownload( [In, Description("The replicated folder to force replication on")] string ReplicatedFolderGuid, [In, Description("The unique ID of the resource to download")] string Uid ); [Implemented, Description("Checks connectivity with the partner computer")] uint32 CheckConnectivity(); }; // // DfsrSyncInfo // Sync Session monitoring info class // [Description("This class provides statistical and operational information " "for active sync sessions between the local replication group member and one of " "its partners."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrSyncInfo { // Properties [Key, DisplayName("Sync GUID"), Description("The unique sync identifier of this connection"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string SyncGuid; [DisplayName("Connection GUID"), Description("The unique identifier of this connection "), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ConnectionGuid; [DisplayName("Member GUID"), Description("The identifier of the local replication group member"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Member Name"), Description("The member name. This is typically the unqualified " "DNS name of the local computer."), Read] string MemberName; [DisplayName("Partner GUID"), Description("The unique identifier of the partner object"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string PartnerGuid; [DisplayName("Partner Name"), Description("The partner name. This is typically the unqualified " "DNS name of the partner computer."), Read] string PartnerName; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Replication Group Name"), Description("The name of the replication group that owns the connection"), Read] string ReplicationGroupName; [DisplayName("Is Incoming Sync"), Description("Sync direction indicates the flow of updates between the " "sync member and sync partner, which is either: \n" "Incoming - data flows from the partner to the member.\n" "Outgoing - data flows from member to partner.\n"), Read] boolean Inbound; [DisplayName("Sync Session State"), Description("The state of the current sync session"), Values {"Initialized", "Connecting", "In Progress", "Completed", "In Sync", "Interrupted", "In Error"}, ValueMap {"0", "1", "2", "3", "4", "5", "6"}, Read] uint32 State; [DisplayName("Initiation Reason"), Description("The reason why the sync session was started. The following " "values are supported: " "Schedule - Sync started according to the schedule" "Forced - Sync started as a response to a Force Replication command" "Paused - Pause sync as a response to a Force Replication" "ForcedUntilSync - Sync started as a response to a Force Replication Until-In-Sync command"), Values {"Schedule, Forced, Paused, ForcedUntilSync"}, ValueMap {"0,1,2,3"}, Read] uint32 InitiationReason; [DisplayName("Sync Start Time"), Description("The time stamp for the start of the sync session."), Read] datetime StartTime; [DisplayName("Sync End Time"), Description("The time stamp for the end of the Sync session. If the session is still " "in progress, the value of this property is January 1, 1601."), Read] datetime EndTime; [DisplayName("Number of Updates Transferred"), Description("The total number of updates that have been transferred since " "the sync session was started"), Read] uint32 UpdatesTransferred; [DisplayName("Number of Bytes Transferred"), Description("The total number of bytes that have been transferred since " "the sync session was started"), Read] uint64 BytesTransferred; [DisplayName("Number of Updates Not Transferred"), Description("Total number of updates in the queue for transfer in this " "sync session"), Read] uint32 UpdatesNotTransferred; [DisplayName("Number of Updates Not Transferred"), Description("Total number of updates that need to be synced with the partner"), Read] uint32 UpdatesToBeTransferred; [DisplayName("Number of Conflicts Generated"), Description("The total number of conflicts encountered while processing " "updates for this session"), Read] uint32 ConflictsGenerated; [DisplayName("Number of Tombstones Generated"), Description("The total number of tombstones encountered while processing " "updates for this session"), Read] uint32 TombstonesGenerated; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("The event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; [DisplayName("Current Force Replication End Time"), Description("The end time stamp of the current force replication"), Read] datetime ForceReplicationEndTime; [DisplayName("Current Force Replication bandwidth level"), Description("The bandwidth level of the current force replication"), Read] uint32 ForceReplicationBandwidthlevel; }; // // DfsrReplicatedFolderInfo // Monitoring Class for local replicated folders // [Description("This class provides statistical and operational information " "for each replicated folder hosted on the local computer."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrReplicatedFolderInfo { // Properties [Key, DisplayName("Replicated Folder GUID"), Description("The unique identifier of the local replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicatedFolderGuid; [DisplayName("Replicated Folder Name"), Description("The friendly name of the replicated folder. The name is not required to be unique."), Read] string ReplicatedFolderName; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Replication Group Name"), Description("The name of the replication group that contains this replicated folder"), Read] string ReplicationGroupName; [DisplayName("Member GUID"), Description("The unique identifier of the member that hosts this replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Member Name"), Description("The name of the member that hosts this replicated folder"), Read] string MemberName; [DisplayName("Last Conflict Cleanup Time"), Description("The last time the conflict cleanup process ran on this replicated folder"), Read] datetime LastConflictCleanupTime; [DisplayName("Last Tombstone Cleanup Time"), Description("The last time the tombstone cleanup process ran on this replicated folder"), Read] datetime LastTombstoneCleanupTime; [DisplayName("Current Staging Folder Size in MB"), Description("The current size of the staging folder, in MB"), Units("MB"), Read] uint32 CurrentStageSizeInMb; [DisplayName("Current Conflict and Deleted Folder Size in MB"), Description("The current size of the Conflict and Deleted folder, in MB"), Units("MB"), Read] uint32 CurrentConflictSizeInMb; [DisplayName("Replicated Folder State"), Description("The current replicated folder state for this member"), Values {"Uninitialized", "Initialized", "Initial Sync", "Auto Recovery", "Normal", "In Error"}, ValueMap {"0", "1", "2", "3", "4", "5"}, Read] uint8 State; [DisplayName("Last Error Code"), Description("The last error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorCode; [DisplayName("Last Error Message ID"), Description("The event log message ID that corresponds to the last" " error code"), Values {"Success"}, ValueMap {"0"}, Read] uint32 LastErrorMessageId; // Methods [Implemented, Description("Retrieves the current version vector chain of this member")] uint32 GetVersionVector( [Out, Description("The version vector, in string format")] string VersionVector ); [Implemented, Static, Description("Applies a fence to a specific file or folder")] uint32 Fence( [In, Description("Fencing mode can take the following values: \n" "Unfence - Fence value indicating that fenced file or folder will lose all conflicts \n" "Initial Sync - Initial fence value for non-primary member \n" "Initial Primary - Initial fence value for primary member \n" "Default - Default fencing value \n" "Fence - Fence with current timestamp \n"), Values {"Unfence", "Initial Sync", "Initial Primary", "Default", "Fence"}, ValueMap {"0", "1", "2", "3", "4"} ] uint8 Mode, [In, Description("The full path to the resource to be fenced")] string FilePath, [In, Description("Indicates whether to apply the fence recursively to all children")] boolean IsRecursive ); [Implemented, Description("Starts the Conflict and Deleted folder cleanup process. This method " "returns a Win32 status code.")] uint32 CleanupConflictDirectory(); [Implemented, Description("Retrieves the number of files scheduled to be replicated to " "a receiving partner given its version vector")] uint32 GetOutboundBacklogFileCount( [In, Description("The receiving partner version vector")] string VersionVector, [Out, Description("The count of files in the backlog")] uint32 BacklogFileCount, [Out, Description("The index number of the last ID record processed")] uint32 IdRecordIndex ); [Implemented, Description("Retrieves the list of ID records for the files that are " "scheduled to be replicated to the receiving partner given its version vector")] uint32 GetOutboundBacklogFileIdRecords( [In, Description("The version vector of the receiving partner")] string VersionVector, [Out, Description("An array of ID records for the files in the backlog")] DfsrIdRecordInfo BacklogIdRecords[], [Out, Description("The index number of the last ID record processed")] uint32 IdRecordIndex ); [Implemented, static, Description("Retrieves the status of a replicated folder on this cluster node."), ValueMap{"0", "87", "9001", "9240"}, Values{"Success", "Invalid parameter", "The replicated folder was not recognized", "Not ready to process cluster requests"}] uint32 GetStatus( [In, Description("Supplies the ID of the replicated folder in XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX format")] string ReplicatedFolderGuid, [Out, Description("Receives the replicated folder's status"), ValueMap{"1", "2", "3", "4", "5", "6"}, Values{"Offline", "Offline Pending", "Online", "Online Failed", "Online Pending", "Unknown"}] uint32 ReplicatedFolderStatus ); }; // // DfsrIdRecordInfo // This class provide access to ID Table records // [Description("This class provides access to ID table records. The ID table " "has a record for each file and folder known to the DFS Replication service. In addition, the ID table " "keeps records of the deleted content."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrIdRecordInfo { // Properties [Key, DisplayName("File or Folder GUID-Version Pair"), Description("The unique identifier and version of the file or folder"), Read] string Uid; [DisplayName("Flags"), Description("A combination of flags for present, authoritative, and file type" "flags."), Read] uint8 Flags; [DisplayName("Attributes"), Description("The file or folder attributes"), Read] uint32 Attributes; [DisplayName("Global Version"), Description("The global version of the file or folder"), Read] string GVsn; [DisplayName("USN"), Description("The update sequence number (USN) at the time the " "resource was updated"), Read] string Usn; [DisplayName("Parent GUID"), Description("The unique identifier of the parent folder"), Read] string ParentUid; [DisplayName("File ID"), Description("The file reference number. On NTFS volumes, each file is assigned " "an identifier that is unique on the volume; the identifier can be used to open a " "handle to the file."), Read] uint64 Fid; [DisplayName("Volume"), Description("The volume where the file or folder is located " "The volume format is either C: or volume{GUID}."), Read] string Volume; [DisplayName("Fence"), Description("The fence value associated with the file. This property " "takes the following values: \n" "0 - Unfence - this file or folder will lose all conflicts \n" "1 - Initial Sync - Initial fence value for non-primary member \n" "2 - Initial Primary - Initial fence value for primary member \n" "3 - Default - Default fencing value \n" "datetime - Fence - Fence with current timestamp \n"), Read] string Fence; [DisplayName("Clock"), Description("The logical clock value assigned to the file or folder"), Read] datetime Clock; [DisplayName("Create Time"), Description("The creation time stamp of the file or folder. This is the " "time at which the resource first appears in the replication group."), Read] datetime CreateTime; [DisplayName("Update Time"), Description("The last time the DFS Replication service updated the record in response to a " "change in the resource"), Read] datetime UpdateTime; [DisplayName("File Hash"), Description("A hash value for the file content"), Read] string FileHash; [DisplayName("Relative Name"), Description("The name of the file or folder"), Read] string FileName; [DisplayName("Full Path Name"), Description("The full path name of the file or folder"), Read] string FullPathName; [DisplayName("Record Index"), Description("The run-time index of the record. This value is used to " "partition the result of a large query."), Read] uint32 Index; [DisplayName("Replicated Folder GUID"), Description("The unique identifier of the replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicatedFolderGuid; // Methods [Implemented, Description("Retrieves the complete path to the file or folder")] uint32 GetFullFilePath( [Out, Description("The full path, if the method succeeds")] string FullPath ); }; // // DfsrConflictInfo // Exposes the conflict manifest content, which includes information about files and folders // that were moved to Conflict and Deleted folder due to conflicting updates // [Description("This class provides details about the files and folders " "that were moved to the Conflict and Deleted folder due to conflicting updates"), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrConflictInfo { // Properties [Key, DisplayName("Global Version"), Description("The global version of the conflicted file or folder"), Read] string GVsn; [DisplayName("Conflicted File or Folder GUID-Version Pair"), Description("The unique identifier and version of the conflicted file or folder"), Read] string Uid; [DisplayName("File Name"), Description("The name of the file or folder after it is moved to the Conflict and Deleted " "folder"), Read] string FileName; [DisplayName("File Attributes"), Description("The attributes of the file or folder"), Read] uint32 FileAttributes; [DisplayName("Conflict File Count"), Description("If the conflict is a folder, then this attribute gives " "the total number of files and folders under the conflicted parent " "folder."), Read] uint32 ConflictFileCount; [DisplayName("Conflict Size in Bytes"), Description("The size of the file or folder, in bytes"), Read] uint64 ConflictSizeInBytes; [DisplayName("Conflict Time"), Description("The time stamp when the conflict was detected"), Read] datetime ConflictTime; [DisplayName("Conflict Path"), Description("The original location of the conflicted file or folder"), Read] string ConflictPath; [DisplayName("Conflict Type"), Description("The nature of the conflict"), Values { "Name Conflict", "Remote Update Local Update Conflict", "Remote Update Local Delete Conflict", "Local Delete Remote Update Conflict", "Remote File Delete", "Remote File Does Not Exist At Initial Sync"}, ValueMap { "1", "2", "3", "4", "5", "6"}, Read] uint8 ConflictType; [DisplayName("Replicated Folder GUID"), Description("The unique identifier of the replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicatedFolderGuid; [DisplayName("Replication Group GUID"), Description("The unique identifier of the replication group"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicationGroupGuid; [DisplayName("Member GUID"), Description("The unique identifier of the member"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string MemberGuid; [DisplayName("Partner GUID"), Description("The identifier of the partner object in this connection."), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string PartnerGuid; // Methods [Implemented, Description("Delete this conflict from the conflict directory along " "with its record in the manifest.")] uint32 Delete(); }; // // DfsrIdUpdateInfo // This class provides details about updates that are currently being transferred. // [Description("This class provides details about updates that are currently being transferred."), Dynamic : ToInstance, Provider("DfsrMonitorProv"), Locale(1033)] class DfsrIdUpdateInfo { // Properties [Key, DisplayName("The unique identifier guid of the update"), Description("A unique identifier for the update that is downloaded or uploaded"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string UpdateGuid; [DisplayName("File or Folder GUID-Version Pair"), Description("The unique identifier and version of the file or folder"), Read] string Uid; [DisplayName("Global Version"), Description("The global version of the file or folder"), Read] string GVsn; [DisplayName("Parent GUID"), Description("The unique identifier of the parent folder"), Read] string ParentUid; [DisplayName("Update State"), Description("The update state for the current update "), Values { "SCHEDULED", "RUNNING", "DOWNLOADING", "WAIT", "BLOCKED"}, ValueMap {"1", "2", "3", "4", "5"}, Read] uint32 UpdateState; [DisplayName("Relative Name"), Description("The name of the file or folder"), Read] string FileName; [DisplayName("Full Path Name"), Description("The full path name of the file or folder"), Read] string FullPathName; [DisplayName("Replicated Folder GUID"), Description("The unique identifier of the replicated folder"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ReplicatedFolderGuid; [DisplayName("Connection GUID"), Description("The unique identifier of the connection that this update is being transferred on"), MaxLen(36) : ToInstance, MinLen(36) : ToInstance, Read] string ConnectionGuid; [DisplayName("Partner Name"), Description("The connection partner name"), Read] string PartnerName; [DisplayName("Incoming Connection"), Description("Indicates the direction of the connection between the " "local computer and this partner; it can be incoming or outgoing."), Read] boolean Inbound; }; instance of __EventProviderRegistration { Provider = $P2; EventQueryList = { "SELECT * FROM __InstanceOperationEvent WHERE TargetInstance ISA \"DfsrInfo\"", "SELECT * FROM __InstanceOperationEvent WHERE TargetInstance ISA \"DfsrLocalMemberInfo\"", "SELECT * FROM __InstanceOperationEvent WHERE TargetInstance ISA \"DfsrConnectionInfo\"", "SELECT * FROM __InstanceOperationEvent WHERE TargetInstance ISA \"DfsrReplicatedFolderInfo\"", "SELECT * FROM __InstanceOperationEvent WHERE TargetInstance ISA \"DfsrSyncInfo\"" }; }; // End of dfsrprov.mof