Megosztás a következőn keresztül:


LocalizedPropertyResourcesAttribute Constructor (String, Boolean)

Initializes a new instance of the LocalizedPropertyResourcesAttribute class using the specified resources name. 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 ( _
    resourcesName As String, _
    useDefaultKeys As Boolean _
)
'Usage
Dim resourcesName As String
Dim useDefaultKeys As Boolean

Dim instance As New LocalizedPropertyResourcesAttribute(resourcesName, _
    useDefaultKeys)
public LocalizedPropertyResourcesAttribute(
    string resourcesName,
    bool useDefaultKeys
)
public:
LocalizedPropertyResourcesAttribute(
    String^ resourcesName, 
    bool useDefaultKeys
)
new : 
        resourcesName:string * 
        useDefaultKeys:bool -> LocalizedPropertyResourcesAttribute
public function LocalizedPropertyResourcesAttribute(
    resourcesName : String, 
    useDefaultKeys : boolean
)

Parameters

  • resourcesName
    Type: System.String
    The name of the resources that contain localized property category and name strings.
  • useDefaultKeys
    Type: System.Boolean
    true to use the keys by default; false to retrieve the keys as attributes.