DomainRootKey DomainRootKey DomainRootKey Class


Keys of domain roots must inherit from this class, not SfcKey

public abstract class DomainRootKey : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
type DomainRootKey = class
    inherit SfcKey
Public MustInherit Class DomainRootKey
Inherits SfcKey


DomainRootKey(ISfcDomain) DomainRootKey(ISfcDomain) DomainRootKey(ISfcDomain)


Domain Domain Domain
InstanceType InstanceType InstanceType

The Type of the instance class associated with this key class. Default impl is the way a nested key class would do it for compatiblity with existing models using that technique. This should be overriden in any key class which is not a nested class of the instance type.

(Inherited from SfcKey)


Equals(Object) Equals(Object) Equals(Object)

Each Key must do proper value comparison of its data members. Do not rely solely on reference equality checking like object does.

(Inherited from SfcKey)
Equals(SfcKey) Equals(SfcKey) Equals(SfcKey) Inherited from SfcKey
GetHashCode() GetHashCode() GetHashCode()

Each Key must provide a reasonable hash code for its data members. Internally, strings can use their default hash codes, and numeric values can be used directly or bit-shifted and truncated to int. Multiple hash codes for internal data can usually be XOR'd together to produce a decent result.

(Inherited from SfcKey)
GetUrnFragment() GetUrnFragment() GetUrnFragment()

Each Key must implement how to produce a valid XPath-oriented identity string fragmentwhich is used to build complete and valid Urn from a SfcKeyChain of Key[].

(Inherited from SfcKey)
ToString() ToString() ToString()

Each Key

(Inherited from SfcKey)

Applies to