Table of Contents

Class SqlPermission

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents a SQL permission.

public class SqlPermission : BaseTypeSection, IComparable<SqlPermission>
Inheritance
SqlPermission
Implements

Constructors

SqlPermission()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.SqlPermission class.

public SqlPermission()

Properties

CollectionDisplayField

Gets the collection display field used by the data comparer.

[Browsable(false)]
public string CollectionDisplayField { get; }

Property Value

string

CollectionIndex

Gets the collection index used by the data comparer.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

Grantee

Gets or sets the grantee to which the permission is assigned.

public string Grantee { get; set; }

Property Value

string

GranteeType

Gets or sets the principal type represented by the grantee to which the permission is assigned.

public SqlPrincipalType GranteeType { get; set; }

Property Value

SqlPrincipalType

GranteeTypeString

Gets the principal type represented by the grantee to which the permission is assigned.

public string GranteeTypeString { get; set; }

Property Value

string

Grantor

Gets or sets the grantor of the permission.

public string Grantor { get; set; }

Property Value

string

PermissionName

Gets or sets the name of the permission.

public string PermissionName { get; set; }

Property Value

string

PermissionState

Gets or sets the permission state.

public SqlPermissionState PermissionState { get; set; }

Property Value

SqlPermissionState

PermissionStateString

Gets the permission state.

public string PermissionStateString { get; set; }

Property Value

string

Methods

Clone()

Returns a CENTREL.XIA.Configuration.Types.SqlPermission cloned from this object.

public SqlPermission Clone()

Returns

SqlPermission

A CENTREL.XIA.Configuration.Types.SqlPermission.

CompareTo(SqlPermission)

Compares two CENTREL.XIA.Configuration.Types.SqlPermission objects to allow sorting alphabetically by grantee name.

public int CompareTo(SqlPermission other)

Parameters

other SqlPermission

The CENTREL.XIA.Configuration.Types.SqlPermission to compare to.

Returns

int

The sort order of the two CENTREL.XIA.Configuration.Types.SqlPermission objects.

ToString()

Returns the permission as human readable string.

public override string ToString()

Returns

string

The permission as human readable string.