Bagikan melalui


Database.IMajorObject.ParentServer Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets the parent server referred by the Database.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Private ReadOnly Property ParentServer As Server 
    Implements IMajorObject.ParentServer 
    Get
'Usage
Dim instance As Database 
Dim value As Server 

value = CType(instance, IMajorObject).ParentServer
Server IMajorObject.ParentServer { get; }
private:
virtual property Server^ ParentServer {
    Server^ get () sealed = IMajorObject::ParentServer::get;
}
private abstract ParentServer : Server 
private override ParentServer : Server
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: Microsoft.AnalysisServices.Server
The parent server referred by the Database.

Implements

IMajorObject.ParentServer

See Also

Reference

Database Class

Microsoft.AnalysisServices Namespace