CredentialCollection.Add Method
Adds a Credential object to the referenced collection.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
Public Sub Add ( _
credential As Credential _
)
'Kullanım
Dim instance As CredentialCollection
Dim credential As Credential
instance.Add(credential)
public void Add(
Credential credential
)
public:
void Add(
Credential^ credential
)
member Add :
credential:Credential -> unit
public function Add(
credential : Credential
)
Parameters
- credential
Type: Microsoft.SqlServer.Management.Smo.Credential
A Credential object that specifies the credential to be added to the collection.