DatabaseRole.IsFixedRole 属性
Gets the Boolean property value that specifies whether the database role is a fixed role or a user-defined role.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public ReadOnly Property IsFixedRole As Boolean
Get
用法
Dim instance As DatabaseRole
Dim value As Boolean
value = instance.IsFixedRole
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public bool IsFixedRole { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property bool IsFixedRole {
bool get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member IsFixedRole : bool
function get IsFixedRole () : boolean
属性值
类型:System.Boolean
A Boolean value that specifies whether the database role is fixed or user defined.If True, the database role is a fixed role.If False (default), the database role is a user-defined role.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo 命名空间