Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

ScriptingOptions::IncludeDatabaseRoleMemberships Property

Gets or sets a value that indicates whether the database role memberships are included.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
public:
property bool IncludeDatabaseRoleMemberships {
	bool get ();
	void set (bool value);
}

Property Value

Type: System::Boolean
True if the database role memberships are included; otherwise, false.

Visual Basic

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

PowerShell

$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.IncludeDatabaseRoleMemberships = $TRUE
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.