external help file | Module Name | online version | schema |
---|---|---|---|
PsDac.dll-Help.xml |
PsDac |
2.0.0 |
Closes the connection to a database server.
Disconnect-DacService [-Service <DacServices>] [<CommonParameters>]
{{ Fill in the Description }}
PS C:\> Connect-DacService -DataSource '(LocalDb)\MSSQLLocalDB'
PS C:\> Disconnect-DacService
Closes an open connection to localdb.
Specifies the service to disconnect. Default is the latest connected service.
Type: DacServices
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.