ISqlRoleMembership.Role Property
Gets or sets a role.
Namespace: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer
Assembly: Microsoft.Data.Schema.Sql (in Microsoft.Data.Schema.Sql.dll)
Syntax
'Declaration
Property Role As ISqlRole
Get
Set
'Usage
Dim instance As ISqlRoleMembership
Dim value As ISqlRole
value = instance.Role
instance.Role = value
ISqlRole Role { get; set; }
property ISqlRole^ Role {
ISqlRole^ get ();
void set (ISqlRole^ value);
}
function get Role () : ISqlRole
function set Role (value : ISqlRole)
abstract Role : ISqlRole with get, set
Property Value
Type: Microsoft.Data.Schema.Sql.SchemaModel.SqlServer.ISqlRole
Returns a ISqlRole.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.