XEStore.ISfcDomain.GetKey Method
Gets the key object given an Urn fragment
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Private Function GetKey ( _
urnFragment As IUrnFragment _
) As SfcKey Implements ISfcDomain.GetKey
'Usage
Dim instance As XEStore
Dim urnFragment As IUrnFragment
Dim returnValue As SfcKey
returnValue = CType(instance, ISfcDomain).GetKey(urnFragment)
SfcKey ISfcDomain.GetKey(
IUrnFragment urnFragment
)
private:
virtual SfcKey^ GetKey(
IUrnFragment^ urnFragment
) sealed = ISfcDomain::GetKey
private abstract GetKey :
urnFragment:IUrnFragment -> SfcKey
private override GetKey :
urnFragment:IUrnFragment -> SfcKey
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Parameters
- urnFragment
Type: Microsoft.SqlServer.Management.Sdk.Sfc.IUrnFragment
An IUrnFragment object.
Return Value
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SfcKey
Returns an SfcKey.
Implements
ISfcDomain.GetKey(IUrnFragment)
Remarks
The Microsoft.SqlServer.Management.Sdk.Sfc.dll contains the assemblies for SQL Foundation Classes. The library is found in the directory: %ProgramFiles%\Microsoft SQL Server\100\SDK\Assemblies.