TSqlCompilationResult.Server Property

Gets the server associated with the Transact-SQL compilation result.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.dll)

Syntax

'Declaration
Public ReadOnly Property Server As IServer
    Get
'Usage
Dim instance As TSqlCompilationResult
Dim value As IServer

value = instance.Server
public IServer Server { get; }
public:
property IServer^ Server {
    IServer^ get ();
}
member Server : IServer
function get Server () : IServer

Property Value

Type: Microsoft.SqlServer.Management.SqlParser.Metadata.IServer
A Server object associated with the Transact-SQL compilation result.