Share via


MaintenancePlan.GetMaintenancePlanFromConnectedServer Method

Definition

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

Returns

Applies to