GetRegisteredDomainForType 方法 (String, Boolean)
僅供參考之用。不支援。我們無法保證未來的相容性。
命名空間: 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
類型的完整名稱。
- throwOnUnregisteredDomain
型別:System. . :: . .Boolean
true 表示對未註冊的網域擲回,否則為 false。
傳回值
型別:System. . :: . .String
特定類型的網域名稱。