Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

ServerRoleExtender Class

 

Applies To: SQL Server 2016 Preview

Adds methods and properties to the ServerRole object.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)


[CLSCompliantAttribute(false)]
public class ServerRoleExtender : SmoObjectExtender<ServerRole>, 
	ISfcValidate

NameDescription
System_CAPS_pubmethodServerRoleExtender()

Initializes a new instance of the ServerRoleExtender class.

System_CAPS_pubmethodServerRoleExtender(ServerRole)

Initializes a new instance of the ServerRoleExtender class, specifying the associated ServerRole.

NameDescription
System_CAPS_pubpropertyConnectionContext

Gets the ServerConnection which is associated with the object.

System_CAPS_pubpropertyContainingRoleNames

Gets a StringCollection which contains the names of the Server Roles which contain the ServerRole as a member.

System_CAPS_pubpropertyCurrentObject

Gets the ServerRole which this ServerRoleExtender represents.

System_CAPS_pubpropertyGeneralPageDataContainer

Gets or sets the Object which represents the general page data container for the instance.

System_CAPS_pubpropertyGeneralPageOnRunNow

Gets or sets the Object which represents the “General Page on Run Now” event handler.

System_CAPS_pubpropertyIsFixedRoleOrPublic

A Boolean which indicates whether the ServerRole is Public or a fixed server role.

System_CAPS_pubpropertyMemberNameIsMemberHash

Gets a Dictionary<TKey, TValue> which keeps membership information for the role.

System_CAPS_pubpropertyOwnerForUI

Gets or sets a String which contains the name of the owner.

System_CAPS_protpropertyParent

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_pubpropertyRoleMembersTableData

Gets a DataTable which is used to hold information about the members of the ServerRole.

System_CAPS_pubpropertyServerRoleMembershipsTableData

Gets a DataTable which is used to hold information about the ServerRole members of the ServerRole.

System_CAPS_pubpropertyServerRoleNameHasMembershipHash

Gets a Dictionary<TKey, TValue> which keeps ServerRole membership information for the role.

System_CAPS_pubpropertyState

Gets the SqlSmoState of the parent ServerRole.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_protmethodGetParentSfcPropertySet()

Returns an instance of the parent objects property set.(Inherited from SmoObjectExtender<T>.)

System_CAPS_pubmethodGetPropertySet()

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethodOnPropertyChanged(String)

Raises the T:System.ComponentModel.INotifyPropertyChanged.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>.)

System_CAPS_protmethodOnPropertyMetadataChanged(String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_protmethodparent_PropertyChanged(Object, PropertyChangedEventArgs)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_protmethodparent_PropertyMetadataChanged(Object, SfcPropertyMetadataChangedEventArgs)

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>.)

System_CAPS_pubmethodRefreshRoleMembersHash()
System_CAPS_pubmethodRefreshServerRoleNameHasMembershipHash()

Rebuilds the MemberNameIsMemberHash dictionary from the RoleMembersTableData.

System_CAPS_protmethodRegisterParentProperty(PropertyInfo)

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>.)

System_CAPS_protmethodRegisterProperty(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>.)

System_CAPS_protmethodRegisterProperty(PropertyInfo, String)

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodValidate(String, Object[])

Validates the parent.

NameDescription
System_CAPS_pubeventPropertyChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

System_CAPS_pubeventPropertyMetadataChanged

Do not reference this member directly in your code. It supports the SQL Server infrastructure.(Inherited from SfcObjectExtender<TSfcInstance>.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Community Additions

Show:
© 2015 Microsoft