external help file | Module Name | online version | schema |
---|---|---|---|
PsSmo.dll-Help.xml |
PsSmo |
2.0.0 |
{{ Fill in the Synopsis }}
Connect-SmoInstance [-DataSource] <String> [[-InitialCatalog] <String>] [-AccessToken <String>]
[-StatementTimeout <Int32>] [<CommonParameters>]
Connect-SmoInstance -Connection <SqlConnection> [-StatementTimeout <Int32>] [<CommonParameters>]
Connect-SmoInstance [-ConnectionString] <String> [-StatementTimeout <Int32>] [<CommonParameters>]
Connect-SmoInstance [-DataSource] <String> [[-InitialCatalog] <String>] [-UserId] <String>
[-Password] <SecureString> [-StatementTimeout <Int32>] [<CommonParameters>]
{{ Fill in the Description }}
PS C:\> {{ Add example code here }}
{{ Add example description here }}
{{ Fill AccessToken Description }}
Type: String
Parameter Sets: Properties_IntegratedSecurity
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
{{ Fill Connection Description }}
Type: SqlConnection
Parameter Sets: SqlClient
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False
{{ Fill ConnectionString Description }}
Type: String
Parameter Sets: ConnectionString
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
{{ Fill DataSource Description }}
Type: String
Parameter Sets: Properties_IntegratedSecurity, Properties_Credential
Aliases: Server, ServerName, ServerInstance
Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
{{ Fill InitialCatalog Description }}
Type: String
Parameter Sets: Properties_IntegratedSecurity, Properties_Credential
Aliases: Database, DatabaseName
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
{{ Fill Password Description }}
Type: SecureString
Parameter Sets: Properties_Credential
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
{{ Fill UserId Description }}
Type: String
Parameter Sets: Properties_Credential
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This is the number of seconds that a statement is attempted to be sent to the server before it fails.
Type: Int32
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.