SymmetricKey.Create 메서드 (SymmetricKeyEncryption, String, String, CreateDispositionType)

Creates a symmetric key on the database with the specified encryption type and method.

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

구문

‘선언
Public Sub Create ( _
    keyEncryption As SymmetricKeyEncryption, _
    providerAlgorithm As String, _
    providerKeyName As String, _
    createDispositionType As CreateDispositionType _
)
‘사용 방법
Dim instance As SymmetricKey 
Dim keyEncryption As SymmetricKeyEncryption 
Dim providerAlgorithm As String 
Dim providerKeyName As String 
Dim createDispositionType As CreateDispositionType

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

매개 변수

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

참고 항목

참조

SymmetricKey 클래스

Create 오버로드

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