Login.AddCredential Method (String)

 

Adds a login credential.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void AddCredential(
	string credentialName
)

Parameters

credentialName
Type: System.String

The name of the credential to be mapped to the server login.

Return to top
Show: