共用方式為


ObjectCreatedEventArgs.SmoObject 屬性

Gets the created object that causes the event to be raised.

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

語法

'宣告
Public ReadOnly Property SmoObject As Object 
    Get
'用途
Dim instance As ObjectCreatedEventArgs 
Dim value As Object 

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

屬性值

型別:System.Object
An Object system object value that specifies the created object.

範例

處理 SMO 事件

請參閱

參考

ObjectCreatedEventArgs 類別

Microsoft.SqlServer.Management.Smo 命名空間