Compartir a través de


ContentFormatterArgument Constructor ()

Default constructor for the ContentFormatterArgument class.

Espacio de nombres: Microsoft.SqlServer.Management.Nmo
Ensamblado: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Sintaxis

'Declaración
Public Sub New
public ContentFormatterArgument ()
public:
ContentFormatterArgument ()
public ContentFormatterArgument ()
public function ContentFormatterArgument ()

Notas

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.

Ejemplo

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"

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

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

Otros recursos

Configurar formateadores de contenido
Argument Element for ContentFormatter/Arguments (ADF)