SymmetricKeyEncryption 构造函数 (KeyEncryptionType, String)
Initializes a new instance of the SymmetricKeyEncryption class with the specified encryption type and with the specified value.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
Public Sub New ( _
encryptionType As KeyEncryptionType, _
value As String _
)
用法
Dim encryptionType As KeyEncryptionType
Dim value As String
Dim instance As New SymmetricKeyEncryption(encryptionType, _
value)
public SymmetricKeyEncryption(
KeyEncryptionType encryptionType,
string value
)
public:
SymmetricKeyEncryption(
KeyEncryptionType encryptionType,
String^ value
)
new :
encryptionType:KeyEncryptionType *
value:string -> SymmetricKeyEncryption
public function SymmetricKeyEncryption(
encryptionType : KeyEncryptionType,
value : String
)
参数
- encryptionType
类型:Microsoft.SqlServer.Management.Smo. . :: . .KeyEncryptionType
An KeyEncryptionType object value that specifies the key encryption type.
- value
类型:System. . :: . .String
A String value that specifies the value of the key encryption.