共用方式為


DatabaseEvent.AlterDatabaseEncryptionKey 屬性

Gets a database event that can be included in the event set.

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

語法

'宣告
Public Shared ReadOnly Property AlterDatabaseEncryptionKey As DatabaseEvent 
    Get
'用途
Dim value As DatabaseEvent 

value = DatabaseEvent.AlterDatabaseEncryptionKey
public static DatabaseEvent AlterDatabaseEncryptionKey { get; }
public:
static property DatabaseEvent^ AlterDatabaseEncryptionKey {
    DatabaseEvent^ get ();
}
static member AlterDatabaseEncryptionKey : DatabaseEvent
static function get AlterDatabaseEncryptionKey () : DatabaseEvent

屬性值

型別:Microsoft.SqlServer.Management.Smo.DatabaseEvent
A DatabaseEvent object that represents the AlterDatabaseEncryptionKey event that can be included in the database event set.

範例

處理 SMO 事件

請參閱

參考

DatabaseEvent 類別

Microsoft.SqlServer.Management.Smo 命名空間