ScriptingOptions.IncludeDatabaseRoleMemberships ScriptingOptions.IncludeDatabaseRoleMemberships ScriptingOptions.IncludeDatabaseRoleMemberships Property

정의

데이터베이스 역할 멤버 자격이 포함되는지 여부를 나타내는 값을 가져오거나 설정합니다. Gets or sets a value that indicates whether the database role memberships are included.

public:
 property bool IncludeDatabaseRoleMemberships { bool get(); void set(bool value); };
public bool IncludeDatabaseRoleMemberships { get; set; }
Public Property IncludeDatabaseRoleMemberships As Boolean
속성 값

True 데이터베이스 역할 멤버 자격이 포함; 되어 있는 경우 그렇지 않으면 false합니다. True if the database role memberships are included; otherwise, false.

예제

Visual BasicVisual Basic

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

PowerShellPowerShell

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

적용 대상