Credential.Create 메서드 (String, SecureString)
Creates a credential on the instance of SQL Server as defined by the Credential object.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
Public Sub Create ( _
identity As String, _
secret As SecureString _
)
‘사용 방법
Dim instance As Credential
Dim identity As String
Dim secret As SecureString
instance.Create(identity, secret)
public void Create(
string identity,
SecureString secret
)
public:
void Create(
String^ identity,
SecureString^ secret
)
member Create :
identity:string *
secret:SecureString -> unit
public function Create(
identity : String,
secret : SecureString
)
매개 변수
- identity
유형: System.String
A String value that specifies the name of the credential.
- secret
유형: System.Security.SecureString
A SecureString value that specifies the password for the credential.
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스