Partager via


ContentFormatterArgument Constructor ()

Default constructor for the ContentFormatterArgument class.

Espace de noms: Microsoft.SqlServer.Management.Nmo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntaxe

'Déclaration
Public Sub New
public ContentFormatterArgument ()
public:
ContentFormatterArgument ()
public ContentFormatterArgument ()
public function ContentFormatterArgument ()

Notes

If you use the default constructor, you must immediately set the Name property and then set the Parent property. You can then set the Value property.

Exemple

The following examples show how to use this default constructor:

// Define a formatter argument and set properties.
ContentFormatterArgument contentFormatterArgument1 = 
    new ContentFormatterArgument();
contentFormatterArgument1.Name = "XsltBaseDirectoryPath";
contentFormatterArgument1.Parent = contentFormatter;
contentFormatterArgument1.Value = @"C:\NS\Default\XSLFiles";
' Define a formatter argument and set properties.
Dim contentFormatterArgument1 As ContentFormatterArgument = _
    New ContentFormatterArgument()
contentFormatterArgument1.Name = "XsltBaseDirectoryPath"
contentFormatterArgument1.Parent = contentFormatter
contentFormatterArgument1.Value = "C:\NS\Default\XSLFiles"

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

ContentFormatterArgument Class
ContentFormatterArgument Members
Microsoft.SqlServer.Management.Nmo Namespace

Autres ressources

Configuration des modules de formatage de contenu
Argument Element for ContentFormatter/Arguments (ADF)