Condividi tramite


DomainRootKey Class

Definition

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
Inheritance
DomainRootKey
Derived

Constructors

DomainRootKey(ISfcDomain)

Properties

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

Methods

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) (Inherited from SfcKey)
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()

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

Each Key

(Inherited from SfcKey)

Applies to