共用方式為


GetNameForType 方法

Gets the name attribute from filter specified by the type parameter. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。

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

語法

'宣告
Public Function GetNameForType ( _
    type As String _
) As String
'用途
Dim instance As Urn
Dim type As String
Dim returnValue As String

returnValue = instance.GetNameForType(type)
public string GetNameForType(
    string type
)
public:
String^ GetNameForType(
    String^ type
)
member GetNameForType : 
        type:string -> string 
public function GetNameForType(
    type : String
) : String

參數

傳回值

型別:System. . :: . .String
A string value that specifies the name.