IncludeDatabaseRoleMemberships プロパティ
IncludeDatabaseRoleMemberships プロパティ値を取得または設定します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Property IncludeDatabaseRoleMemberships As Boolean
Get
Set
'使用
Dim instance As ScriptingOptions
Dim value As Boolean
value = instance.IncludeDatabaseRoleMemberships
instance.IncludeDatabaseRoleMemberships = value
public bool IncludeDatabaseRoleMemberships { get; set; }
public:
property bool IncludeDatabaseRoleMemberships {
bool get ();
void set (bool value);
}
member IncludeDatabaseRoleMemberships : bool with get, set
function get IncludeDatabaseRoleMemberships () : boolean
function set IncludeDatabaseRoleMemberships (value : boolean)
プロパティ値
使用例
Visual Basic
Dim scOps As New ScriptingOptions()
scOps.IncludeDatabaseRoleMemberships = true
PowerShell
$scOps = New-Object Microsoft.SqlServer.Management.Smo.ScriptingOptions
$scOps.IncludeDatabaseRoleMemberships = $TRUE