CredentialCollection.Add Método
Adds a Credential object to the referenced collection.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub Add ( _
credential As Credential _
)
'Uso
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
)
Parámetros
- credential
Tipo: Microsoft.SqlServer.Management.Smo.Credential
A Credential object that specifies the credential to be added to the collection.