Freigeben über


ContentFormatterArgument Constructor ()

Default constructor for the ContentFormatterArgument class.

Namespace: Microsoft.SqlServer.Management.Nmo
Assembly : Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Declaration
Public Sub New
public ContentFormatterArgument ()
public:
ContentFormatterArgument ()
public ContentFormatterArgument ()
public function ContentFormatterArgument ()

Hinweise

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.

Beispiel

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"

Plattformen

Entwicklungsplattformen

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Zielplattforme

Eine Liste der unterstützten Plattformen finden Sie unterHardware- und Softwareanforderungen für die Installation von SQL Server 2005.

Siehe auch

Verweis

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

Andere Ressourcen

Konfigurieren von Inhaltsformatierern
Argument Element for ContentFormatter/Arguments (ADF)