MaintenancePlan.GetMaintenancePlanFromConnectedServer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static Microsoft::SqlServer::Management::DatabaseMaintenance::MaintenancePlan ^ GetMaintenancePlanFromConnectedServer(System::String ^ maintPlanName, Microsoft::SqlServer::Management::Common::ServerConnection ^ serverConn);
public static Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan GetMaintenancePlanFromConnectedServer (string maintPlanName, Microsoft.SqlServer.Management.Common.ServerConnection serverConn);
static member GetMaintenancePlanFromConnectedServer : string * Microsoft.SqlServer.Management.Common.ServerConnection -> Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan
Public Shared Function GetMaintenancePlanFromConnectedServer (maintPlanName As String, serverConn As ServerConnection) As MaintenancePlan
Parameters
- maintPlanName
- String
- serverConn
- ServerConnection