共用方式為


UserData 屬性

Gets or sets user-defined data associated with the referenced object.

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

語法

'宣告
Public Property UserData As Object
    Get
    Set
'用途
Dim instance As SmoObjectBase
Dim value As Object

value = instance.UserData

instance.UserData = value
public Object UserData { get; set; }
public:
property Object^ UserData {
    Object^ get ();
    void set (Object^ value);
}
member UserData : Object with get, set
function get UserData () : Object
function set UserData (value : Object)

屬性值

型別:System. . :: . .Object
An Object system object that contains user-defined data.

範例

設定屬性