ServerRoleExtender Class
Adds methods and properties to the ServerRole object.
This API is not CLS-compliant.
Inheritance Hierarchy
System.Object
Microsoft.SqlServer.Management.Sdk.Sfc.SfcObjectExtender<ServerRole>
Microsoft.SqlServer.Management.Smo.SmoObjectExtender<ServerRole>
Microsoft.SqlServer.Management.Smo.ServerRoleExtender
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Bildirim
<CLSCompliantAttribute(False)> _
Public Class ServerRoleExtender _
Inherits SmoObjectExtender(Of ServerRole) _
Implements ISfcValidate
'Kullanım
Dim instance As ServerRoleExtender
[CLSCompliantAttribute(false)]
public class ServerRoleExtender : SmoObjectExtender<ServerRole>,
ISfcValidate
[CLSCompliantAttribute(false)]
public ref class ServerRoleExtender : public SmoObjectExtender<ServerRole^>,
ISfcValidate
[<CLSCompliantAttribute(false)>]
type ServerRoleExtender =
class
inherit SmoObjectExtender<ServerRole>
interface ISfcValidate
end
public class ServerRoleExtender extends SmoObjectExtender<ServerRole> implements ISfcValidate
The ServerRoleExtender type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ServerRoleExtender() | Initializes a new instance of the ServerRoleExtender class. | |
ServerRoleExtender(ServerRole) | Initializes a new instance of the ServerRoleExtender class, specifying the associated ServerRole. |
Top
Properties
Name | Description | |
---|---|---|
ConnectionContext | Gets the ServerConnection which is associated with the object. | |
ContainingRoleNames | Gets a StringCollection which contains the names of the Server Roles which contain the ServerRole as a member. | |
CurrentObject | Gets the ServerRole which this ServerRoleExtender represents. | |
GeneralPageDataContainer | Gets or sets the Object which represents the general page data container for the instance. | |
GeneralPageOnRunNow | Gets or sets the Object which represents the “General Page on Run Now” event handler. | |
IsFixedRoleOrPublic | A Boolean which indicates whether the ServerRole is Public or a fixed server role. | |
MemberNameIsMemberHash | Gets a Dictionary<TKey, TValue> which keeps membership information for the role. | |
OwnerForUI | Gets or sets a String which contains the name of the owner. | |
Parent | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RoleMembersTableData | Gets a DataTable which is used to hold information about the members of the ServerRole. | |
ServerRoleMembershipsTableData | Gets a DataTable which is used to hold information about the ServerRole members of the ServerRole. | |
ServerRoleNameHasMembershipHash | Gets a Dictionary<TKey, TValue> which keeps ServerRole membership information for the role. | |
State | Gets the SqlSmoState of the parent ServerRole. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetParentSfcPropertySet | Returns an instance of the parent objects property set. (Inherited from SmoObjectExtender<T>.) | |
GetPropertySet | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
OnPropertyChanged | Raises the PropertyChanged event when it has any subscriber. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
OnPropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
parent_PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
parent_PropertyMetadataChanged | Indicates the parent object in the PropertyMetadata. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RefreshRoleMembersHash | Rebuilds the ServerRoleNameHasMembershipHash dictionary from the ServerRoleMembershipsTableData. | |
RefreshServerRoleNameHasMembershipHash | Rebuilds the MemberNameIsMemberHash dictionary from the RoleMembersTableData. | |
RegisterParentProperty | Registers the property of the parent that has not been included in properties collection. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo) | Registers an additional reflected property. Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
RegisterProperty(PropertyInfo, String) | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
ToString | (Inherited from Object.) | |
Validate | Validates the parent. |
Top
Events
Name | Description | |
---|---|---|
PropertyChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) | |
PropertyMetadataChanged | Do not reference this member directly in your code. It supports the SQL Server infrastructure. (Inherited from SfcObjectExtender<TSfcInstance>.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.