共用方式為


SfcRegistration.GetRegisteredDomainForType 方法 (Type)

不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Shared Function GetRegisteredDomainForType ( _
    type As Type _
) As SfcDomainInfo
'用途
Dim type As Type 
Dim returnValue As SfcDomainInfo 

returnValue = SfcRegistration.GetRegisteredDomainForType(type)
public static SfcDomainInfo GetRegisteredDomainForType(
    Type type
)
public:
static SfcDomainInfo^ GetRegisteredDomainForType(
    Type^ type
)
static member GetRegisteredDomainForType : 
        type:Type -> SfcDomainInfo
public static function GetRegisteredDomainForType(
    type : Type
) : SfcDomainInfo

參數

  • type
    型別:System.Type
    The type that represents the Type.

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.SfcDomainInfo
The domain Information object for the given type.

請參閱

參考

SfcRegistration 類別

GetRegisteredDomainForType 多載

Microsoft.SqlServer.Management.Sdk.Sfc 命名空間