Share via


UserDefinedMessageCollection.Parent Property

Gets the Server object that is the parent of the UserDefinedMessage object.

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

Syntax

'Declaration
Public ReadOnly Property Parent As Server 
    Get
'Usage
Dim instance As UserDefinedMessageCollection 
Dim value As Server 

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

Property Value

Type: Microsoft.SqlServer.Management.Smo.Server
A Server object that is the parent of the UserDefinedMessage object.

Examples

Using Collections

See Also

Reference

UserDefinedMessageCollection Class

Microsoft.SqlServer.Management.Smo Namespace