AddCredential 메서드
Adds a login credential.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub AddCredential ( _
credentialName As String _
)
‘사용 방법
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
)
매개 변수
- credentialName
유형: System. . :: . .String
The name of the credential to be mapped to the server login.