Udostępnij za pośrednictwem


Metoda SymmetricKey.Create (SymmetricKeyEncryption, SymmetricKeyEncryptionAlgorithm)

Tworzy klucz zawartości na bazę danych z szyfrowanie określonego typu i metoda.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Smo
Zestaw:  Microsoft.SqlServer.Smo (w Microsoft.SqlServer.Smo.dll)

Składnia

'Deklaracja
Public Sub Create ( _
    keyEncryption As SymmetricKeyEncryption, _
    keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm _
)
'Użycie
Dim instance As SymmetricKey
Dim keyEncryption As SymmetricKeyEncryption
Dim keyEncryptionAlgorithm As SymmetricKeyEncryptionAlgorithm

instance.Create(keyEncryption, keyEncryptionAlgorithm)
public void Create(
    SymmetricKeyEncryption keyEncryption,
    SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm
)
public:
void Create(
    SymmetricKeyEncryption^ keyEncryption, 
    SymmetricKeyEncryptionAlgorithm keyEncryptionAlgorithm
)
member Create : 
        keyEncryption:SymmetricKeyEncryption * 
        keyEncryptionAlgorithm:SymmetricKeyEncryptionAlgorithm -> unit 
public function Create(
    keyEncryption : SymmetricKeyEncryption, 
    keyEncryptionAlgorithm : SymmetricKeyEncryptionAlgorithm
)

Parametry