Метод AddKeyEncryption (SymmetricKeyEncryption)
Adds key encryption to the symmetric key.
Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)
Синтаксис
'Декларация
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
)
Параметры
- keyEncryption
Тип: Microsoft.SqlServer.Management.Smo. . :: . .SymmetricKeyEncryption
A SymmetricKeyEncryption object value that specifies one encryption mechanism to be added to the symmetric key.
Замечания
The SymmetricKeyEncryption object parameter defines a key encryption type and a name or password associated with it.
См. также