Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Specifies the encryption type used to encrypt the database encryption key.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property EncryptionType As DatabaseEncryptionType
Get
Set
'Usage
Dim instance As DatabaseEncryptionKey
Dim value As DatabaseEncryptionType
value = instance.EncryptionType
instance.EncryptionType = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DatabaseEncryptionType EncryptionType { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DatabaseEncryptionType EncryptionType {
DatabaseEncryptionType get ();
void set (DatabaseEncryptionType value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member EncryptionType : DatabaseEncryptionType with get, set
function get EncryptionType () : DatabaseEncryptionType
function set EncryptionType (value : DatabaseEncryptionType)
Property Value
Type: Microsoft.SqlServer.Management.Smo.DatabaseEncryptionType
The encryption type used to encrypt the database encryption key.
Remarks
The following table lists the underlying values and constants for the encryption type:
Underlying Value |
Constant |
|---|---|
0 |
ServerCertificate |
1 |
ServerAsymmetricKey |
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace