Bagikan melalui


PropertyCollection.GetPropertyObject Method (String)

Gets the Property object.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function GetPropertyObject ( _
    name As String _
) As Property
'Usage
Dim instance As PropertyCollection
Dim name As String
Dim returnValue As [Property]

returnValue = instance.GetPropertyObject(name)
public Property GetPropertyObject(
    string name
)
public:
Property^ GetPropertyObject(
    String^ name
)
member GetPropertyObject : 
        name:string -> Property 
public function GetPropertyObject(
    name : String
) : Property

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.Property
A Property object value that specifies the property.