Propriedade Server

Gets or sets the instance of Microsoft SQL Server that the DependencyWalker tool object is associated with.

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

Sintaxe

'Declaração
Public Property Server As Server
    Get
    Set
'Uso
Dim instance As DependencyWalker
Dim value As Server

value = instance.Server

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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Smo. . :: . .Server
A Server object value that specifies the instance of SQL Server.

Exemplos

Gerando scripts