Class SqlServerRole
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a SQL server role.
public class SqlServerRole : BaseTypeSection, IComparable<SqlServerRole>
- Inheritance
-
SqlServerRole
- Implements
Constructors
SqlServerRole()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlServerRole class.
public SqlServerRole()
Properties
DateCreated
Gets or sets the date and time the server role was created. This applies to SQL Server 2012 and above.
public DateTime DateCreated { get; set; }
Property Value
DateLastModified
Gets or sets the date and time the server role was last modified. This applies to SQL Server 2012 and above.
public DateTime DateLastModified { get; set; }
Property Value
IsFixedRole
Gets or sets whether the server role is a fixed role. This applies to SQL Server 2012 and above.
public BooleanOption IsFixedRole { get; set; }
Property Value
MemberNames
Gets or sets the names of the members of the role.
public SerializableStringCollection MemberNames { get; set; }
Property Value
- SerializableStringCollection
Name
Gets or sets the name of the server role.
public string Name { get; set; }
Property Value
Owner
Gets or sets the owner of the server role. This applies to SQL Server 2012 and above.
public string Owner { get; set; }
Property Value
Methods
Clone()
Returns a CENTREL.XIA.Configuration.Types.SqlServerRole cloned from this object.
public SqlServerRole Clone()
Returns
- SqlServerRole
A CENTREL.XIA.Configuration.Types.SqlServerRole.
CompareTo(SqlServerRole)
Compares two CENTREL.XIA.Configuration.Types.SqlServerRole objects to allow sorting alphabetically by name.
public int CompareTo(SqlServerRole other)
Parameters
other
SqlServerRoleThe CENTREL.XIA.Configuration.Types.SqlServerRole to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.SqlServerRole objects.