Closes WCF connections
Syntax
Disconnect-DtServer [-ServiceHost] <Server> [<CommonParameters>]
Detailed description
This cmdlet closes all WCF (Windows Communication Foundation) connections that have been opened during use of the server object.
Parameters
Name | Type | Description | Required | Pipeline Input |
---|---|---|---|---|
Service Host |
Server |
|
true | false |
Outputs
None
Examples
$DtServerObjectAlpha= New-DtServer -Name alpha -UserName domain\administrator -Password password Disconnect-DtServer -ServiceHost $DtServerObjectAlpha |
A server object is created for the server alpha using the domain\administrator and password credentials. It assigns the server object to the variable called DtServerObjectAlpha. The connections for the server object are then closed.