共用方式為


Parent 屬性

取得 Server 物件,該物件為 SqlMail 物件的父系。

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

語法

'宣告
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public ReadOnly Property Parent As Server
    Get
'用途
Dim instance As SqlMail
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
Server 物件值,該值指定 SqlMail 物件的父系。