SqlPropertyCollection.GetPropertyInfo Method

Gets property information.

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

Syntax

'Declaration
Public Function GetPropertyInfo ( _
    name As String _
) As SqlPropertyInfo
'Usage
Dim instance As SqlPropertyCollection 
Dim name As String 
Dim returnValue As SqlPropertyInfo 

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

Parameters

Return Value

Type: Microsoft.SqlServer.Management.Smo.SqlPropertyInfo
A SqlPropertyInfo object value that specifies the property information for the referenced object.

Examples

Using Collections

See Also

Reference

SqlPropertyCollection Class

Microsoft.SqlServer.Management.Smo Namespace