MailAccount.Parent 속성

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

네임스페이스:  Microsoft.SqlServer.Management.Smo.Mail
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcObjectAttribute(SfcObjectRelationship.ParentObject)> _
Public Property Parent As SqlMail 
    Get 
    Set
‘사용 방법
Dim instance As MailAccount 
Dim value As SqlMail 

value = instance.Parent

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

속성 값

유형: Microsoft.SqlServer.Management.Smo.Mail.SqlMail
A SqlMail object value that specifies the parent of the MailAccount object.

주의

The SqlMail object represents the SQL Server Database Mail subsystem running on the instance of SQL Server.

데이터베이스 메일 사용

참고 항목

참조

MailAccount 클래스

Microsoft.SqlServer.Management.Smo.Mail 네임스페이스

관련 자료

데이터베이스 메일