Freigeben über


LocalizedPropertyResourcesAttribute-Konstruktor (String, Boolean)

Initializes a new instance of the LocalizedPropertyResourcesAttribute class using the specified resources name. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur.

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
)

Parameter

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