SymmetricKey.Create SymmetricKey.Create SymmetricKey.Create Method

정의

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

오버로드

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, String, String, CreateDispositionType) Create(SymmetricKeyEncryption, String, String, CreateDispositionType)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^> ^ keyEncryptions, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::String ^ passPhrase, System::String ^ identityPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)
매개 변수
keyEncryptions
SymmetricKeyEncryption[]

두 개 이상의 암호화 유형을 지정하는 SymmetricKeyEncryption 개체 배열 값입니다. A SymmetricKeyEncryption object array value that specifies more than one encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
String String String

대칭 키를 파생할 수 있는 전달 구를 지정하는 String 값입니다. A String value that specifies the pass phrase from which the symmetric key can be derived.

identityPhrase
String String String

키로 암호화된 데이터를 분류하는 데 사용되는 ID를 지정하는 String 값입니다. A String value that specifies the identity phrase used to tag data that is encrypted with the key. 어느 암호 또는 identityPhrase null이 될 수 있지만 적어도 하나를 설정 해야 합니다. Either passPhrase or identityPhrase can be null, but at least one needs to be set.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^> ^ keyEncryptions, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::Security::SecureString ^ passPhrase, System::String ^ identityPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)
매개 변수
keyEncryptions
SymmetricKeyEncryption[]

두 개 이상의 암호화 유형을 지정하는 SymmetricKeyEncryption 개체 배열 값입니다. A SymmetricKeyEncryption object array value that specifies more than one encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
SecureString SecureString SecureString

대칭 키를 파생할 수 있는 전달 구를 지정하는 SecureString 값입니다. A SecureString value that specifies the pass phrase from which the symmetric key can be derived.

identityPhrase
String String String

키로 암호화된 데이터를 분류하는 데 사용되는 ID를 지정하는 String 값입니다. A String value that specifies the identity phrase used to tag data that is encrypted with the key. 어느 암호 또는 identityPhrase null이 될 수 있지만 적어도 하나를 설정 해야 합니다. Either passPhrase or identityPhrase can be null, but at least one needs to be set.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption, String, String, CreateDispositionType) Create(SymmetricKeyEncryption, String, String, CreateDispositionType)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, System::String ^ providerAlgorithm, System::String ^ providerKeyName, Microsoft::SqlServer::Management::Smo::CreateDispositionType createDispositionType);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, string providerAlgorithm, string providerKeyName, Microsoft.SqlServer.Management.Smo.CreateDispositionType createDispositionType);
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

providerAlgorithm
String String String

공급자 알고리즘의 이름을 식별하는 String 값입니다. A String value that identifies the name of the Provider Algorithm.

providerKeyName
String String String

A String 공급자가 지정 된 키의 이름을 식별 하는 값 A String value that identifies the name of the key as designated by the provider

createDispositionType
CreateDispositionType CreateDispositionType CreateDispositionType

CreateDispositionType 개체를 기존 또는 새 확장 가능 키 관리 키를 지정 합니다. The CreateDispositionType object specifies an existing or a new Extensible Key Management key.

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::Security::SecureString ^ passPhrase, System::String ^ identityPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase, string identityPhrase);
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString, identityPhrase As String)
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
SecureString SecureString SecureString

대칭 키를 파생할 수 있는 전달 구를 지정하는 SecureString 값입니다. A SecureString value that specifies the pass phrase from which the symmetric key can be derived.

identityPhrase
String String String

키로 암호화된 데이터를 분류하는 데 사용되는 ID를 지정하는 String 값입니다. A String value that specifies the identity phrase used to tag data that is encrypted with the key. 어느 암호 또는 identityPhrase null이 될 수 있지만 적어도 하나를 설정 해야 합니다. Either passPhrase or identityPhrase can be null, but at least one needs to be set.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^> ^ keyEncryptions, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::String ^ passPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)
매개 변수
keyEncryptions
SymmetricKeyEncryption[]

두 개 이상의 암호화 유형을 지정하는 SymmetricKeyEncryption 개체 배열 값입니다. A SymmetricKeyEncryption object array value that specifies more than one encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
String String String

대칭 키를 파생할 수 있는 전달 구를 지정하는 String 값입니다. A String value that specifies the pass phrase from which the symmetric key can be derived.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::String ^ passPhrase, System::String ^ identityPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase, string identityPhrase);
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String, identityPhrase As String)
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
String String String

대칭 키를 파생할 수 있는 전달 구를 지정하는 String 값입니다. A String value that specifies the pass phrase from which the symmetric key can be derived.

identityPhrase
String String String

키로 암호화된 데이터를 분류하는 데 사용되는 ID를 지정하는 String 값입니다. A String value that specifies the identity phrase used to tag data that is encrypted with the key. 어느 암호 또는 identityPhrase null이 될 수 있지만 적어도 하나를 설정 해야 합니다. Either passPhrase or identityPhrase can be null, but at least one needs to be set.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, String)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::String ^ passPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, string passPhrase);
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As String)
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
String String String

대칭 키를 파생할 수 있는 전달 구를 지정하는 String 값입니다. A String value that specifies the pass phrase from which the symmetric key can be derived.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm, SecureString)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::Security::SecureString ^ passPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
SecureString SecureString SecureString

대칭 키를 파생할 수 있는 전달 구를 지정하는 SecureString 값입니다. A SecureString value that specifies the pass phrase from which the symmetric key can be derived.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^> ^ keyEncryptions, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)
매개 변수
keyEncryptions
SymmetricKeyEncryption[]

두 개 이상의 암호화 유형을 지정하는 SymmetricKeyEncryption 개체 배열 값입니다. A SymmetricKeyEncryption object array value that specifies more than one encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm) Create(SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^ keyEncryption, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption keyEncryption, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm);
Public Sub Create (keyEncryption As SymmetricKeyEncryption, keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm)
매개 변수
keyEncryption
SymmetricKeyEncryption SymmetricKeyEncryption SymmetricKeyEncryption

A SymmetricKeyEncryption 개체 암호화 유형을 지정 하는 값입니다. A SymmetricKeyEncryption object value that specifies the encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

예제

암호화 사용Using Encryption

Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString) Create(SymmetricKeyEncryption[], SymmetricKeyEncryptionAlgorithm, SecureString)

데이터베이스에 지정한 암호화 유형과 메서드를 가진 대칭 키를 만듭니다. Creates a symmetric key on the database with the specified encryption type and method.

public:
 void Create(cli::array <Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryption ^> ^ keyEncryptions, Microsoft::SqlServer::Management::Smo::SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System::Security::SecureString ^ passPhrase);
public void Create (Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryption[] keyEncryptions, Microsoft.SqlServer.Management.Smo.SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm, System.Security.SecureString passPhrase);
Public Sub Create (keyEncryptions As SymmetricKeyEncryption(), keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm, passPhrase As SecureString)
매개 변수
keyEncryptions
SymmetricKeyEncryption[]

두 개 이상의 암호화 유형을 지정하는 SymmetricKeyEncryption 개체 배열 값입니다. A SymmetricKeyEncryption object array value that specifies more than one encryption type.

keyEncryptionAlgorithm
SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm SymmetricKeyEncryptionAlgorithm

A SymmetricKeyEncryptionAlgorithm 암호화 방법을 지정 하는 값입니다. A SymmetricKeyEncryptionAlgorithm value that specifies the encryption method.

passPhrase
SecureString SecureString SecureString

대칭 키를 파생할 수 있는 전달 구를 지정하는 SecureString 값입니다. A SecureString value that specifies the pass phrase from which the symmetric key can be derived.

예제

암호화 사용Using Encryption

적용 대상