Join-DtcDiagnosticResourceManager
Join-DtcDiagnosticResourceManager
Enlists a diagnostic Resource Manager for a transaction object.
Sintassi
Parameter Set: Default
Join-DtcDiagnosticResourceManager [-Transaction] <DtcDiagnosticTransaction> [[-ComputerName] <String> ] [[-Port] <Int32> ] [-InformationAction <System.Management.Automation.ActionPreference> {SilentlyContinue | Stop | Continue | Inquire | Ignore | Suspend} ] [-InformationVariable <System.String> ] [-Volatile] [ <CommonParameters>]
Descrizione dettagliata
The Join-DtcDiagnosticResourceManager cmdlet enlists a diagnostic Resource Manager (RM) for a specified transaction object. The transaction first needs to be sent to the RM.
Parametri
-ComputerName<String>
Specifies the host name of the computer on which the RM runs. If you do not specify a host name, this cmdlet uses the name of the local computer.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
2 |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-InformationAction<System.Management.Automation.ActionPreference>
Alias |
infa |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-InformationVariable<System.String>
Alias |
iv |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Port<Int32>
Specifies the listening port of the test RM. If you do not specify a port number, this cmdlet uses the name of the local computer.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
3 |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
-Transaction<DtcDiagnosticTransaction>
Specifies the transaction object on which to enlist the RM.
Alias |
none |
Obbligatorio? |
true |
Posizione? |
1 |
Valore predefinito |
none |
Accetta input da pipeline? |
True (ByValue) |
Accetta caratteri jolly? |
false |
-Volatile
Indicates that this cmdlet makes a volatile enlistment. If you do not specify this parameter, the cmdlet makes a durable enlistment.
Alias |
none |
Obbligatorio? |
false |
Posizione? |
named |
Valore predefinito |
none |
Accetta input da pipeline? |
false |
Accetta caratteri jolly? |
false |
<CommonParameters>
Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Input
Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.
Output
Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.
Esempi
Example 1: Enlist a new diagnostic transaction
The first command creates a transaction by using the New-DtcDiagnosticTransaction cmdlet, and then stores that transaction in the $Transaction variable.
The second command enlists the transaction stored in $Transaction to a diagnostic resource manager.
PS C:\> $Transaction = New-DtcDiagnosticTransaction
PS C:\> Join-DtcDiagnosticResourceManager -Transaction $Transaction
Argomenti correlati
Start-DtcDiagnosticResourceManager