不要直接在程式碼中參照此成員。其支援 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.