PropertyCollection.GetPropertyObject PropertyCollection.GetPropertyObject PropertyCollection.GetPropertyObject Method

Definition

Gets the Property object.

Overloads

GetPropertyObject(Int32) GetPropertyObject(Int32) GetPropertyObject(Int32)

Gets the Property object.

GetPropertyObject(String) GetPropertyObject(String) GetPropertyObject(String)

Gets the Property object.

GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean)

Gets the Property object.

GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean)

.Gets the Property object.

GetPropertyObject(Int32) GetPropertyObject(Int32) GetPropertyObject(Int32)

Gets the Property object.

public:
 Microsoft::SqlServer::Management::Smo::Property ^ GetPropertyObject(int index);
public Microsoft.SqlServer.Management.Smo.Property GetPropertyObject (int index);
Public Function GetPropertyObject (index As Integer) As Property
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the index position.

Returns

A Property object value that specifies the property.

Examples

Using Collections

GetPropertyObject(String) GetPropertyObject(String) GetPropertyObject(String)

Gets the Property object.

public:
 Microsoft::SqlServer::Management::Smo::Property ^ GetPropertyObject(System::String ^ name);
public Microsoft.SqlServer.Management.Smo.Property GetPropertyObject (string name);
Public Function GetPropertyObject (name As String) As Property
Parameters
name
String String String

A String value that specifies the name of the property.

Returns

A Property object value that specifies the property.

Examples

Using Collections

GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean) GetPropertyObject(Int32, Boolean)

Gets the Property object.

public:
 Microsoft::SqlServer::Management::Smo::Property ^ GetPropertyObject(int index, bool doNotLoadPropertyValues);
public Microsoft.SqlServer.Management.Smo.Property GetPropertyObject (int index, bool doNotLoadPropertyValues);
Public Function GetPropertyObject (index As Integer, doNotLoadPropertyValues As Boolean) As Property
Parameters
index
Int32 Int32 Int32

An Int32 value that specifies the index position of the property.

doNotLoadPropertyValues
Boolean Boolean Boolean

A Boolean property value that specifies whether the property values are loaded.

If True, the property values are not loaded.

If False, the property values are loaded.

Returns

A Property object value that specifies the property.

Examples

Using Collections

GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean) GetPropertyObject(String, Boolean)

.Gets the Property object.

public:
 Microsoft::SqlServer::Management::Smo::Property ^ GetPropertyObject(System::String ^ name, bool doNotLoadPropertyValues);
public Microsoft.SqlServer.Management.Smo.Property GetPropertyObject (string name, bool doNotLoadPropertyValues);
Public Function GetPropertyObject (name As String, doNotLoadPropertyValues As Boolean) As Property
Parameters
name
String String String

A String value that specifies the name of the property.

doNotLoadPropertyValues
Boolean Boolean Boolean

A Boolean property value that specifies whether the property values are loaded.

If True, the property values are not loaded.

If False, the property values are loaded.

Returns

A Property object value that specifies the property.

Examples

Using Collections

Applies to