SfcRegistration.GetRegisteredDomainForType 方法 (String, Boolean)

不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。

命名空间:  Microsoft.SqlServer.Management.Sdk.Sfc
程序集:  Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)

语法

声明
Public Shared Function GetRegisteredDomainForType ( _
    fullTypeName As String, _
    throwOnUnregisteredDomain As Boolean _
) As String
用法
Dim fullTypeName As String 
Dim throwOnUnregisteredDomain As Boolean 
Dim returnValue As String 

returnValue = SfcRegistration.GetRegisteredDomainForType(fullTypeName, _
    throwOnUnregisteredDomain)
public static string GetRegisteredDomainForType(
    string fullTypeName,
    bool throwOnUnregisteredDomain
)
public:
static String^ GetRegisteredDomainForType(
    String^ fullTypeName, 
    bool throwOnUnregisteredDomain
)
static member GetRegisteredDomainForType : 
        fullTypeName:string * 
        throwOnUnregisteredDomain:bool -> string
public static function GetRegisteredDomainForType(
    fullTypeName : String, 
    throwOnUnregisteredDomain : boolean
) : String

参数

  • fullTypeName
    类型:System.String
    The complete name for the Type.
  • throwOnUnregisteredDomain
    类型:System.Boolean
    true to throw on the unregistered domain; otherwise, false.

返回值

类型:System.String
The domain name for the specific type.

请参阅

参考

SfcRegistration 类

GetRegisteredDomainForType 重载

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