MaintenancePlan.PlanNameExists Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Namespace: Microsoft.SqlServer.Management.DatabaseMaintenance
Assembly: Microsoft.SqlServer.MaintenancePlanTasks (in microsoft.sqlserver.maintenanceplantasks.dll)
Syntax
'Declaration
Public Shared Function PlanNameExists ( _
name As String, _
server As ServerConnection _
) As Boolean
public static bool PlanNameExists (
string name,
ServerConnection server
)
public:
static bool PlanNameExists (
String^ name,
ServerConnection^ server
)
public static boolean PlanNameExists (
String name,
ServerConnection server
)
public static function PlanNameExists (
name : String,
server : ServerConnection
) : boolean
Parameters
- name
- server
Thread Safety
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.
Target Platforms
Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Server 2008, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2), Windows 2000 Professional, Windows 2000 Advanced Server, Windows XP Home Edition, For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server., Windows Vista, Windows Mobile 5.0, Windows Mobile 2003 for Pocket PC, Windows CE 5.0
See Also
Reference
MaintenancePlan Class
MaintenancePlan Members
Microsoft.SqlServer.Management.DatabaseMaintenance Namespace