共用方式為


MaintenancePlan.GetMaintenancePlanFromServer Method

Definition

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

Returns

Applies to