共用方式為


SystemMessage.Parent 屬性

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

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

語法

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

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

屬性值

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

範例

使用訊息

請參閱

參考

SystemMessage 類別

Microsoft.SqlServer.Management.Smo 命名空間