다음을 통해 공유


AddKeyEncryption 메서드 (SymmetricKeyEncryption)

Adds key encryption to the symmetric key.

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

구문

‘선언
Public Sub AddKeyEncryption ( _
    keyEncryption As SymmetricKeyEncryption _
)
‘사용 방법
Dim instance As SymmetricKey
Dim keyEncryption As SymmetricKeyEncryption

instance.AddKeyEncryption(keyEncryption)
public void AddKeyEncryption(
    SymmetricKeyEncryption keyEncryption
)
public:
void AddKeyEncryption(
    SymmetricKeyEncryption^ keyEncryption
)
member AddKeyEncryption : 
        keyEncryption:SymmetricKeyEncryption -> unit 
public function AddKeyEncryption(
    keyEncryption : SymmetricKeyEncryption
)

주의

The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.