Partilhar via


Propriedade FileName

Gets or sets the name of the file to which the generated script is output.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Property FileName As String
    Get
    Set
'Uso
Dim instance As ScriptingOptions
Dim value As String

value = instance.FileName

instance.FileName = value
public string FileName { get; set; }
public:
property String^ FileName {
    String^ get ();
    void set (String^ value);
}
member FileName : string with get, set
function get FileName () : String
function set FileName (value : String)

Valor da propriedade

Tipo: System. . :: . .String
A String value that specifies the name of the file to which the generated script is output.

Exemplos

Gerando scripts