共用方式為


Parent 屬性

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

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As Server
    Get
    Set
'用途
Dim instance As UserDefinedMessage
Dim value As Server

value = instance.Parent

instance.Parent = value
[SfcObjectAttribute(SfcObjectRelationship.ParentObject)]
public Server Parent { get; set; }
[SfcObjectAttribute(SfcObjectRelationship::ParentObject)]
public:
property Server^ Parent {
    Server^ get ();
    void set (Server^ value);
}
[<SfcObjectAttribute(SfcObjectRelationship.ParentObject)>]
member Parent : Server with get, set
function get Parent () : Server
function set Parent (value : Server)

屬性值

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

範例

使用訊息