AddByServiceSet method of the MSFT_DtcClusterTMMappingTask class
Creates a cluster DTC mapping for a service.
uint32 AddByServiceSet(
[in] string Name,
[in] string ClusterResourceName,
[in] boolean Local,
[in] string Service
);
-
Name [in]
-
The name of the DTC mapping to add.
-
ClusterResourceName [in]
-
The name of the cluster resource to assign to the mapping.
-
Local [in]
-
true if the application type is local. false if the application is a clustered resource. If the application type is local, the application maps to the local DTC instance and this method ignores the value of the ClusterResourceName parameter.
-
Service [in]
-
The name of the service to assign to the mapping.
Returns "0" on success, otherwise returns a WMI error code.
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Namespace |
Root\MsDTC |
MOF |
|
DLL |
|