Metodo AddCredential
Adds a login credential.
Spazio dei nomi: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Public Sub AddCredential ( _
credentialName As String _
)
'Utilizzo
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
)
Parametri
- credentialName
Tipo: System. . :: . .String
The name of the credential to be mapped to the server login.
Vedere anche