Nota
L'accés a aquesta pàgina requereix autorització. Podeu provar d'iniciar la sessió o de canviar els directoris.
L'accés a aquesta pàgina requereix autorització. Podeu provar de canviar els directoris.
Tries to get the property value specified by the name parameter and type specified by the property parameter.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Private Function TryGetPropertyValue ( _
name As String, _
<OutAttribute> ByRef value As Object _
) As Boolean Implements ISfcPropertySet.TryGetPropertyValue
'Uso
Dim instance As PropertyCollection
Dim name As String
Dim value As Object
Dim returnValue As Boolean
returnValue = CType(instance, ISfcPropertySet).TryGetPropertyValue(name, _
value)
bool ISfcPropertySet.TryGetPropertyValue(
string name,
out Object value
)
private:
virtual bool TryGetPropertyValue(
String^ name,
[OutAttribute] Object^% value
) sealed = ISfcPropertySet::TryGetPropertyValue
private abstract TryGetPropertyValue :
name:string *
value:Object byref -> bool
private override TryGetPropertyValue :
name:string *
value:Object byref -> bool
JScript admite el uso de implementaciones de interfaces explícitas, pero no la declaración de otras nuevas.
Parámetros
- name
Tipo: System.String
A string value that specifies the name of the property.
- value
Tipo: System.Object%
An Object.
Valor devuelto
Tipo: System.Boolean
A Boolean value, True if the collection contains the property value, otherwise False.
Implementa
ISfcPropertySet.TryGetPropertyValue(String, Object%)