共用方式為


GetPropertyObject 方法 (Int32, Boolean)

Gets the Property object.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
Public Function GetPropertyObject ( _
    index As Integer, _
    doNotLoadPropertyValues As Boolean _
) As Property
'用途
Dim instance As PropertyCollection
Dim index As Integer
Dim doNotLoadPropertyValues As Boolean
Dim returnValue As [Property]

returnValue = instance.GetPropertyObject(index, _
    doNotLoadPropertyValues)
public Property GetPropertyObject(
    int index,
    bool doNotLoadPropertyValues
)
public:
Property^ GetPropertyObject(
    int index, 
    bool doNotLoadPropertyValues
)
member GetPropertyObject : 
        index:int * 
        doNotLoadPropertyValues:bool -> Property 
public function GetPropertyObject(
    index : int, 
    doNotLoadPropertyValues : boolean
) : Property

參數

  • doNotLoadPropertyValues
    型別:System. . :: . .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.

傳回值

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

範例

使用集合