Repository.CreateAnnotation Method
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub CreateAnnotation ( _
AnnotationName As String, _
AnnotatedItem As String, _
Version As Integer, _
AnnotationValue As String, _
Comment As String, _
Overwrite As Boolean _
)
[WebMethodAttribute]
public void CreateAnnotation(
string AnnotationName,
string AnnotatedItem,
int Version,
string AnnotationValue,
string Comment,
bool Overwrite
)
[WebMethodAttribute]
public:
void CreateAnnotation(
String^ AnnotationName,
String^ AnnotatedItem,
int Version,
String^ AnnotationValue,
String^ Comment,
bool Overwrite
)
[<WebMethodAttribute>]
member CreateAnnotation :
AnnotationName:string *
AnnotatedItem:string *
Version:int *
AnnotationValue:string *
Comment:string *
Overwrite:bool -> unit
public function CreateAnnotation(
AnnotationName : String,
AnnotatedItem : String,
Version : int,
AnnotationValue : String,
Comment : String,
Overwrite : boolean
)
Parameters
- AnnotationName
Type: System.String
- AnnotatedItem
Type: System.String
- Version
Type: System.Int32
- AnnotationValue
Type: System.String
- Comment
Type: System.String
- Overwrite
Type: System.Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.