Partager via


Constructeur LocalizedPropertyResourcesAttribute (String, Boolean)

Initializes a new instance of the LocalizedPropertyResourcesAttribute class using the specified resources name. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.

Espace de noms :  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly :  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    resourcesName As String, _
    useDefaultKeys As Boolean _
)
'Utilisation
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
)

Paramètres

  • 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.