Delen via


ScriptOption.LoginSid Property

Gets or sets the Boolean property value that specifies whether the security identifiers are included for any scripted logins in the generated script.

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

Syntax

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

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

Property Value

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

Examples

Scripting