ExtendedProperty Constructor (SqlSmoObject, String, Object)
Initializes a new instance of the ExtendedProperty class with the specified parent, name, and value.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub New ( _
parent As SqlSmoObject, _
name As String, _
propertyValue As Object _
)
'Usage
Dim parent As SqlSmoObject
Dim name As String
Dim propertyValue As Object
Dim instance As New ExtendedProperty(parent, _
name, propertyValue)
public ExtendedProperty(
SqlSmoObject parent,
string name,
Object propertyValue
)
public:
ExtendedProperty(
SqlSmoObject^ parent,
String^ name,
Object^ propertyValue
)
new :
parent:SqlSmoObject *
name:string *
propertyValue:Object -> ExtendedProperty
public function ExtendedProperty(
parent : SqlSmoObject,
name : String,
propertyValue : Object
)
Parameters
- parent
Type: Microsoft.SqlServer.Management.Smo.SqlSmoObject
A SqlSmoObject object that specifies the object on which to add the extended property.
- name
Type: System.String
A String value that specifies the name of the extended property.
- propertyValue
Type: System.Object
An Object object value that specifies the property value of the object.