共用方式為


Regenerate 方法

Regenerates a database encryption key.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Sub Regenerate ( _
    encryptAlgo As DatabaseEncryptionAlgorithm _
)
'用途
Dim instance As DatabaseEncryptionKey
Dim encryptAlgo As DatabaseEncryptionAlgorithm

instance.Regenerate(encryptAlgo)
public void Regenerate(
    DatabaseEncryptionAlgorithm encryptAlgo
)
public:
void Regenerate(
    DatabaseEncryptionAlgorithm encryptAlgo
)
member Regenerate : 
        encryptAlgo:DatabaseEncryptionAlgorithm -> unit 
public function Regenerate(
    encryptAlgo : DatabaseEncryptionAlgorithm
)