다음을 통해 공유


AsymmetricKey.Create 메서드 (String, String, CreateDispositionType, AsymmetricKeySourceType)

Creates an asymmetric key on the instance of SQL Server by loading the specified asymmetric key and by using the specified password.

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

구문

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

instance.Create(providerAlgorithm, providerKeyName, _
    createDispositionType, sourceType)
public void Create(
    string providerAlgorithm,
    string providerKeyName,
    CreateDispositionType createDispositionType,
    AsymmetricKeySourceType sourceType
)
public:
void Create(
    String^ providerAlgorithm, 
    String^ providerKeyName, 
    CreateDispositionType createDispositionType, 
    AsymmetricKeySourceType sourceType
)
member Create : 
        providerAlgorithm:string * 
        providerKeyName:string * 
        createDispositionType:CreateDispositionType * 
        sourceType:AsymmetricKeySourceType -> unit
public function Create(
    providerAlgorithm : String, 
    providerKeyName : String, 
    createDispositionType : CreateDispositionType, 
    sourceType : AsymmetricKeySourceType
)

매개 변수

  • providerAlgorithm
    유형: System.String
    A String that identifies the name of the Provider Algorithm
  • providerKeyName
    유형: System.String
    A String that identifies the name of the key as designated by the provider

메서드 호출

참고 항목

참조

AsymmetricKey 클래스

Create 오버로드

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

관련 자료

CREATE ASYMMETRIC KEY(Transact-SQL)