Método AddCredential
Adds a login credential.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub AddCredential ( _
credentialName As String _
)
'Uso
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
)
Parâmetros
- credentialName
Tipo: System. . :: . .String
The name of the credential to be mapped to the server login.
Consulte também