MaintenancePlan.GetMaintenancePlanFromServer 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 ^ GetMaintenancePlanFromServer(System::String ^ maintPlanName, System::String ^ serverName, System::String ^ userName, Microsoft::SqlServer::Common::SqlSecureString ^ pwd);
public static Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan GetMaintenancePlanFromServer (string maintPlanName, string serverName, string userName, Microsoft.SqlServer.Common.SqlSecureString pwd);
static member GetMaintenancePlanFromServer : string * string * string * Microsoft.SqlServer.Common.SqlSecureString -> Microsoft.SqlServer.Management.DatabaseMaintenance.MaintenancePlan
Public Shared Function GetMaintenancePlanFromServer (maintPlanName As String, serverName As String, userName As String, pwd As SqlSecureString) As MaintenancePlan
Parameters
- maintPlanName
- String
- serverName
- String
- userName
- String
- pwd
- Microsoft.SqlServer.Common.SqlSecureString