Export (0) Print
Expand All
Expand Minimize

ScriptingOptions.IncludeDatabaseRoleMemberships Property

Gets or sets the IncludeDatabaseRoleMemberships property value.

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

public bool IncludeDatabaseRoleMemberships { get; set; }

Property Value

Type: System.Boolean
Boolean

Visual Basic

Dim scOps As New ScriptingOptions()
scOps.IncludeDatabaseRoleMemberships = true

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.IncludeDatabaseRoleMemberships = $TRUE

Community Additions

ADD
Show:
© 2014 Microsoft