SearchProperty Constructor (SearchPropertyList, String, String, Int32, String)
Initializes a new instance of the SearchProperty class.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
parent As SearchPropertyList, _
name As String, _
propertySetGuid As String, _
intID As Integer, _
description As String _
)
'Usage
Dim parent As SearchPropertyList
Dim name As String
Dim propertySetGuid As String
Dim intID As Integer
Dim description As String
Dim instance As New SearchProperty(parent, _
name, propertySetGuid, intID, description)
public SearchProperty(
SearchPropertyList parent,
string name,
string propertySetGuid,
int intID,
string description
)
public:
SearchProperty(
SearchPropertyList^ parent,
String^ name,
String^ propertySetGuid,
int intID,
String^ description
)
new :
parent:SearchPropertyList *
name:string *
propertySetGuid:string *
intID:int *
description:string -> SearchProperty
public function SearchProperty(
parent : SearchPropertyList,
name : String,
propertySetGuid : String,
intID : int,
description : String
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Smo.SearchPropertyList
The parent SearchPropertyList.
- name
Type: System.String
A String containing the name of the instance.
- propertySetGuid
Type: System.String
The Guid of the property set associated with the SearchProperty.
- intID
Type: System.Int32
An Int32 representing the IntID of the SearchProperty.
- description
Type: System.String
A String which contains the description of the SearchProperty.