Share via


SetByExeSet method of the MSFT_DtcClusterTMMappingTask class

Updates a cluster DTC mapping for an application.

Syntax

uint32 SetByExeSet(
  [in] string  Name,
  [in] string  ExecutablePath,
  [in] string  ClusterResourceName,
  [in] boolean Local
);

Parameters

Name [in]

The name of the DTC mapping to update.

ExecutablePath [in]

The path of the application to associate with this mapping.

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.

Return value

Returns "0" on success, otherwise returns a WMI error code.

Requirements

Minimum supported client
Windows 8
Minimum supported server
Windows Server 2012
Namespace
Root\MsDTC
MOF
Msdtcwmi.mof
DLL
MsDtcWmi.dll

See also

MSFT_DtcClusterTMMappingTask