Dela via


Urn.GetNameForType Method

Gets the name attribute from filter specified by the type parameter. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function GetNameForType ( _
    type As String _
) As String
'Usage
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

Parameters

  • type
    Type: System.String
    A string that specifies the level name.

Return Value

Type: System.String
A string value that specifies the name.