ScriptingOptions.Permissions Property
Gets or sets the Boolean property value that specifies whether to include all permissions in the generated script.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)
Syntax
'Deklaracja
Public Property Permissions As Boolean
public bool Permissions { get; set; }
public:
property bool Permissions {
bool get ();
void set (bool value);
}
/** @property */
public boolean get_Permissions ()
/** @property */
public void set_Permissions (boolean value)
public function get Permissions () : boolean
public function set Permissions (value : boolean)
Property Value
A Boolean value that specifies whether to include all permissions in the generated script. If True, all permissions are included in the script. Otherwise, False (default).
Remarks
"All permissions" includes server permissions, database permissions, and object permissions.
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.