Delen via


ScriptOption.NoMailProfileAccounts Property

Gets an object value that specifies whether mail accounts referenced by mail profiles are included in the generated script.

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

Syntax

'Declaration
Public Shared ReadOnly Property NoMailProfileAccounts As ScriptOption
    Get
'Usage
Dim value As ScriptOption

value = ScriptOption.NoMailProfileAccounts
public static ScriptOption NoMailProfileAccounts { get; }
public:
static property ScriptOption^ NoMailProfileAccounts {
    ScriptOption^ get ();
}
static member NoMailProfileAccounts : ScriptOption
static function get NoMailProfileAccounts () : ScriptOption

Property Value

Type: Microsoft.SqlServer.Management.Smo.ScriptOption
A ScriptOption object that represents the NoMailProfileAccountsin the scripting options.

Examples

Scripting