Méthode Add
Adds a Credential object to the referenced collection.
Espace de noms : Microsoft.SqlServer.Management.Smo
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub Add ( _
credential As Credential _
)
'Utilisation
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
)
Paramètres
- credential
Type : Microsoft.SqlServer.Management.Smo. . :: . .Credential
A Credential object that specifies the credential to be added to the collection.