MailProfile.ID Property

 

Applies To: SQL Server 2016 Preview

Gets the ID value that uniquely identifies the mail profile.

Namespace:   Microsoft.SqlServer.Management.Smo.Mail
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)]
public int ID { get; }
public:
[SfcPropertyAttribute(SfcPropertyFlags::None | SfcPropertyFlags::Standalone | SfcPropertyFlags::Matrix)]
property int ID {
    int get();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.Standalone | SfcPropertyFlags.Matrix)>]
member ID : int with get
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Matrix)>
Public ReadOnly Property ID As Integer

Property Value

Type: System.Int32

An Int32 value that specifies the ID value that uniquely identifies the mail profile.

Examples

Legacy Code Example

Using Database Mail

See Also

MailProfile Class
Microsoft.SqlServer.Management.Smo.Mail Namespace

Unable to find linked topic '14cbf88f-d9d1-41a5-994e-532e2973ac9e'.

Return to top