共用方式為


ServerEventArgs.Properties 屬性

Represents a collection of EventProperty objects. Each EventProperty object represents a property of a server event.

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

語法

'宣告
Public ReadOnly Property Properties As EventPropertyCollection 
    Get
'用途
Dim instance As ServerEventArgs 
Dim value As EventPropertyCollection 

value = instance.Properties
public EventPropertyCollection Properties { get; }
public:
property EventPropertyCollection^ Properties {
    EventPropertyCollection^ get ();
}
member Properties : EventPropertyCollection
function get Properties () : EventPropertyCollection

屬性值

型別:Microsoft.SqlServer.Management.Smo.EventPropertyCollection
An EventPropertyCollection object that represents all the properties that are defined on the server event.

範例

處理 SMO 事件

請參閱

參考

ServerEventArgs 類別

Microsoft.SqlServer.Management.Smo 命名空間