Share via


SmoObjectBase.UserData Property

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Property UserData As Object 
    Get 
    Set
'Usage
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)

Property Value

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

Examples

Setting Properties

See Also

Reference

SmoObjectBase Class

Microsoft.SqlServer.Management.Smo Namespace