共用方式為


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
)

參數

請參閱

參考

SymmetricKeyEncryption 類別

SymmetricKeyEncryption 多載

Microsoft.SqlServer.Management.Smo 命名空間