Dela via


DisplayNameKeyAttribute Constructor

Initializes a new instance of the DisplayNameKeyAttribute class. 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 Sub New ( _
    key As String _
)
'Usage
Dim key As String

Dim instance As New DisplayNameKeyAttribute(key)
public DisplayNameKeyAttribute(
    string key
)
public:
DisplayNameKeyAttribute(
    String^ key
)
new : 
        key:string -> DisplayNameKeyAttribute
public function DisplayNameKeyAttribute(
    key : String
)

Parameters

  • key
    Type: System.String
    The key that is used to look up the localized property name.