Dela via


ScriptOption.Permissions Property

Gets an object value that specifies whether to all permissions in the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting