Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ScriptingOptions.NoMailProfileAccounts Property

Gets or sets the Boolean property value that specifies whether mail accounts that are referenced by mail profiles are included in the generated script.

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

public bool NoMailProfileAccounts { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether mail accounts that are referenced by mail profiles are included in the generated script.
If True, mail accounts referenced by mail profiles are not included in the generated script. Otherwise, False (default).

Community Additions

ADD
Show:
© 2015 Microsoft