다음을 통해 공유


AsymmetricKey.Create 메서드 (String, AsymmetricKeySourceType)

Creates an asymmetric key on the instance of SQL Server by loading the asymmetric key from the specified source.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
Public Sub Create ( _
    keySource As String, _
    sourceType As AsymmetricKeySourceType _
)
‘사용 방법
Dim instance As AsymmetricKey 
Dim keySource As String 
Dim sourceType As AsymmetricKeySourceType

instance.Create(keySource, sourceType)
public void Create(
    string keySource,
    AsymmetricKeySourceType sourceType
)
public:
void Create(
    String^ keySource, 
    AsymmetricKeySourceType sourceType
)
member Create : 
        keySource:string * 
        sourceType:AsymmetricKeySourceType -> unit
public function Create(
    keySource : String, 
    sourceType : AsymmetricKeySourceType
)

매개 변수

  • keySource
    유형: System.String
    A String value that specifies the source from which to load the asymmetric key.

메서드 호출

참고 항목

참조

AsymmetricKey 클래스

Create 오버로드

Microsoft.SqlServer.Management.Smo 네임스페이스

관련 자료

CREATE ASYMMETRIC KEY(Transact-SQL)