PlanGuide Constructor (Database, String)
Creates a plan guide object: PlanGuide
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
database As Database, _
name As String _
)
'Usage
Dim database As Database
Dim name As String
Dim instance As New PlanGuide(database, _
name)
public PlanGuide(
Database database,
string name
)
public:
PlanGuide(
Database^ database,
String^ name
)
new :
database:Database *
name:string -> PlanGuide
public function PlanGuide(
database : Database,
name : String
)
Parameters
- database
Type: Microsoft.SqlServer.Management.Smo.Database
Database
- name
Type: System.String
String Plan Guide Name
See Also
Reference
Microsoft.SqlServer.Management.Smo Namespace