共用方式為


ConfigurationValue.Parent 屬性

Gets or sets the SqlMail object that is the parent of the ConfigurationValue object.

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

語法

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

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

屬性值

型別:Microsoft.SqlServer.Management.Smo.Mail.SqlMail
A SqlMail object value that specifies the parent of the ConfigurationValue object.

範例

使用 Database Mail

請參閱

參考

ConfigurationValue 類別

Microsoft.SqlServer.Management.Smo.Mail 命名空間

其他資源

Database Mail