AddCredential méthode

Adds a login credential.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Sub AddCredential ( _
    credentialName As String _
)
'Utilisation
Dim instance As Login
Dim credentialName As String

instance.AddCredential(credentialName)
public void AddCredential(
    string credentialName
)
public:
void AddCredential(
    String^ credentialName
)
member AddCredential : 
        credentialName:string -> unit 
public function AddCredential(
    credentialName : String
)

Paramètres