共用方式為


PolicyStore.ISfcDomain.GetTypeMetadata 方法

Gets a T:Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeMetadata object identified by the typeName parameter.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
<STraceConfigurationAttribute(SkipAutoTrace := True)> _
Private Function GetTypeMetadata ( _
    typeName As String _
) As SfcTypeMetadata Implements ISfcDomain.GetTypeMetadata
'用途
Dim instance As PolicyStore 
Dim typeName As String 
Dim returnValue As SfcTypeMetadata 

returnValue = CType(instance, ISfcDomain).GetTypeMetadata(typeName)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
SfcTypeMetadata ISfcDomain.GetTypeMetadata(
    string typeName
)
[STraceConfigurationAttribute(SkipAutoTrace = true)]
private:
virtual SfcTypeMetadata^ GetTypeMetadata(
    String^ typeName
) sealed = ISfcDomain::GetTypeMetadata
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private abstract GetTypeMetadata : 
        typeName:string -> SfcTypeMetadata 
[<STraceConfigurationAttribute(SkipAutoTrace = true)>]
private override GetTypeMetadata : 
        typeName:string -> SfcTypeMetadata
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

  • typeName
    型別:System.String
    A string value that specifies the type.

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcTypeMetadata
A SfcTypeMetadata object.

實作

ISfcDomain.GetTypeMetadata(String)

請參閱

參考

PolicyStore 類別

Microsoft.SqlServer.Management.Dmf 命名空間