Share via


ScriptOption.NoMailProfilePrincipals Property

Gets an object value that specifies whether principals referenced by mail profiles are excluded from the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting