Share via


SfcKeyChain.IsServerAncestorOf(SfcKeyChain) Method

Definition

Check if the given keychain is inside this one, using the rules of ServerEquality(). Inside is defined as comparing as equal from the top-down until the shorter (containing) keychain is exhausted. Note that comparing as equivalent, or either being null means not inside.

public bool IsServerAncestorOf (Microsoft.SqlServer.Management.Sdk.Sfc.SfcKeyChain otherKeychain);
member this.IsServerAncestorOf : Microsoft.SqlServer.Management.Sdk.Sfc.SfcKeyChain -> bool
Public Function IsServerAncestorOf (otherKeychain As SfcKeyChain) As Boolean

Parameters

otherKeychain
SfcKeyChain

The keychain to check.

Returns

True if the given keychain is a descendant, else false.

Applies to